VS2016 发布项目提示 CS0006 C# Metadata file 'xxxxxxx.dll' could not be found

 

生成的时候没有问题,发布项目的时候提示 

CS0006 C# Metadata file ‘xxxxxxx.dll‘ could not be found

 

解决方案,找到 xxxxxxx.dll 这个项目,属性。将程序集名称 修改为 和 xxxxxxx.dll项目的csproj中

Project -> PropertyGroup -> AssemblyName 修改为一样,然后clean,最后生成就OK了。

文章来自:http://www.cnblogs.com/oceanho/p/6043444.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3