从调试切换到发布版本会导致Visa设备停止工作,并发出以下隐秘警告:
Target ResolveAssemblyReferences:
Consider app.config remapping of assembly “Ivi.Visa.Interop,
Culture=neutral,PublicKeyToken=a128c98f1d7717c1” from Version
“3.0.0.0” [] to Version “3.2.0.0” [dll\Ivi.Visa.Interop.dll] to solve
conflict and get rid of warning.
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets :
warning MSB3247: Found conflicts between different versions of the
same dependent assembly.
VS2008项目中的Ivi.Visa.Interop参考属性表示dll是版本3.2.0.0.
根据警告建议重新组装版本的过程是什么?
解决方法
Redirecting Assembly Versions on MSDN(.NET 4.0)