Error CS0246: The type or namespace name 'AssemblyFileVersion' could not be found

瘦欲@ 提交于 2019-12-01 21:40:24

Please try this: Put all those libraries on your build machine. Use NuGet to manage the packages and configure it to pull down the libraries that are missing. You may either want to add them manually.

I worked it out in the end. I had a NuGet versioning package in TFS which was checking out the AssemblyInfo class and re-adding the AssemblyFileVersion attribute. I turned this feature off as the attribute is not supported by the .NET CF.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!