简体   繁体   中英

Using different versions of .net DLL in one application in different OS

How can i configure a .net application to use different versions of a dll in different OS

Let me elaborate in details.

I have a .net application that needs a dll under version .net 2.0 in Windows7 and lower OS but it require the same dll under version 4.0 in Windows8 OS.If i use the .net 2.0 versioned dll in Windows 8 then the application will crash.So i created the same dll under .net 4.0.But i don't know how can i tell my application to use the different versioned dll in different OS. Thanks,

使用.NET程序集绑定重定向,请检查以下内容: http : //msdn.microsoft.com/zh-cn/library/eftw1fys(v=vs.71).aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM