这是一个运行C#3.5的VS2010项目.
当让我的构建服务器构建解决方案时,它无法解决我的第三方dll的问题.
错误信息:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1360,9):
warning MSB3268: The primary reference
“Third.Party.Assembly,
Version=50.11.2.0,Culture=neutral,
PublicKeyToken=0561a7c6dbd6f0ea,
processorArchitecture=MSIL” Could not
be resolved because it has an indirect
dependency on the framework assembly
“Microsoft.VisualBasic.Compatibility,
Version=8.0.0.0,
PublicKeyToken=b03f5f7f11d50a3a” which
Could not be resolved in the currently
targeted framework.
“.NETFramework,Version=v3.5”. To
resolve this problem,either remove
the reference “Third.Party.Assembly,
processorArchitecture=MSIL” or
retarget your application to a
framework version which contains
“Microsoft.VisualBasic.Compatibility,
PublicKeyToken=b03f5f7f11d50a3a”.
[d:\Builds\3\mySolution.sln]
一切都在我的机器上编译和运行,但构建服务器似乎很难.
我认为Third.Party.Assembly是用VB.net编写的.
由于程序集是第三方,我无法删除对“Microsoft.VisualBasic.Compatibility”的引用,因为我的计算机上没有收到任何警告,我真的可以运行v3.5吗?
有什么建议?
/麦
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。