这是一个运行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吗?
有什么建议?
/麦