Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 Visual Studio 2010 制作私有访问器类。
这是 Publicize.exe 的返回:
Error occurred during processing of assembly xxx Value cannot be null. Parameter name: interfaceType
我在我的项目中使用 internals 和 InternalVisibleTo。也许这就是问题的原因?
也许您在模块的内部接口中有一个事件?
有一个关于它的错误: http ://connect.microsoft.com/VisualStudio/feedback/details/481332/creating-a-private-accessor-when-you-have-a-top-level-friend-interface-exposing-事件失败在公开