简体   繁体   English

使用混合运行时版本的DLL运行ASP.NET网站是否存在任何问题

[英]Are there any issues with having an ASP.NET web site running with DLL's with mixed runtime versions

Are there any issues with having an ASP.NET web site running with DLL's with mixed runtime versions? 使用带有混合运行时版本的DLL运行ASP.NET网站是否存在任何问题?

I'm checking a web application that has been handed over to us, and the majority of the references have got Runtime Version v4.0.30319 , but I've spotted a few with Runtime Version v2.0.50727 我正在检查已移交给我们的Web应用程序,并且大多数参考文献都具有Runtime Version v4.0.30319 ,但是我发现Runtime Version v2.0.50727有一些

There should not be any issues since .NET is backwards-compatible. 由于.NET向后兼容,因此应该没有任何问题。 However, it's recommended to match the version of your DLLs with the version of .NET you are targeting, so maybe have a look to see if any of the DLLs with v2.0.50727 Runtime Versions have newer releases. 但是,建议将DLL的版本与要定位的.NET的版本进行匹配,因此也许可以看看带有v2.0.50727 Runtime Versions的DLL是否有较新的发行版。

References: 参考文献:

https://msdn.microsoft.com/en-us/library/47a587hk%28v=vs.71%29.aspx https://msdn.microsoft.com/en-us/magazine/ee819091.aspx https://msdn.microsoft.com/zh-CN/library/47a587hk%28v=vs.71%29.aspx https://msdn.microsoft.com/zh-CN/magazine/ee819091.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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