Does .net 4.5 work side by side with .net 4.0?

后端 未结 3 921
时光说笑
时光说笑 2021-02-05 01:43

I am interested in installing the .NET 4.5.

But I have heard that it is an In-Place upgrade.

Since the users at my company uses Windows XP. I can\'t release any

3条回答
  •  星月不相逢
    2021-02-05 01:50

    Yes, there are risks of the sort you describe. The .NET 4.0 interface is unchanged, so if you target .NET 4.0, your program will compile and run on XP with .NET 4.0, but the .NET 4.5 implementation of .NET 4.0 contains bugfixes as well. If you rely on .NET Framework not being buggy, and the only available .NET Framework for XP is buggy, your program is going to experience those bugs. I've had this happen with Entity Framework, but there could be other bug fixes as well.

提交回复
热议问题