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