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.
我有两个使用同一批次代码的托管程序集。当引用一个到另一个时,编译器会抱怨多次重新定义,正如预期的那样。在项目编译期间是否可以忽略引用程序集中存在的常见符号?或者也许是其他一些方法/解决方法来允许这样的设置?
根据上面的评论,通过将公共代码的访问修饰符更改为“私有”来修复。