开发者

.NET 2.0 Assembly and .NET 3.0 Assembly

开发者 https://www.devze.com 2023-01-24 08:12 出处:网络
I have an old project that was build on VS 2008 .NET 2.0. The project is ru开发者_C百科nning fine. We upgraded the project on dev side to VS 2010 .NET 3.0. Now, my question is that if I upload the new

I have an old project that was build on VS 2008 .NET 2.0. The project is ru开发者_C百科nning fine. We upgraded the project on dev side to VS 2010 .NET 3.0. Now, my question is that if I upload the new 3.0 assemblies on the production will it work. Will some .NET 2.0 assemblies be able to communicate with the .NET 3.0 assembly? Our push to production is a simply DLL (3.0) push and on production most of the assemblies are .NET 2.0.

I think it should work since .NEt 2.0 and .NEt 3.0 share the same codebase. If it was .NET 4.0 then it would be totally different.


Yes. They will work together: .net 3.0 = .net 2.0 + WCF+WPF+WF


.NET assemblies can call .NET assemblies which where targeted to older frameworks without problems.

Additionally make sure that all your clients have .NET framework 3.x installed.


Yes, there is no difference in the runtime between v2.0 and v3.0, or v3.5 for that matter (not counting service packs). v3.0/3.5 were just additional libraries added to the v2.0 runtime, but under the hood it's till v2.0.

0

精彩评论

暂无评论...
验证码 换一张
取 消