Yeah there really should be explicit documentation on this. I've been wondering the same thing. (If installed the .NET 5 hosting bundle is going to cause problems for all of our applications still on .NET Core 3.1)
.NET Core 3.1 apps with the .NET 5 Hosting Bundle are supported to work?
Hi.
When I installed the Hosting Bundle for .NET 5, the Hosting Bundle for .NET Core 3.1 disappeared.
I checked this folder.
C:\Program Files\IIS\Asp.Net Core Module\V2
.NET Core 3.1 apps with the .NET 5 Hosting Bundle are supported to work?
In addition, I would like to know if there is any mention of this in the official documentation.
- Background
I have multiple .NET Core 3.1 apps running on a single windows server.
I have converted one of them to .NET 5 and would like to continue running .NET Core 3.1 apps on the same server.
Thanks,
6 answers
Sort by: Most helpful
-
-
Kevork Keheian 1 Reputation point
2020-11-27T05:51:06.667+00:00 Installing .net5 does not override previous installation. .net core 3.1 was not supposed to disappear.
You ca check by typingdotnet --list
ordotnet --info
.You can install multiple hosting bundles of dotnet at the same time and you can host multiple version of .net apps on the same server
-
Jerry Cai-MSFT 986 Reputation points
2020-12-03T07:33:35.45+00:00 Hi,chiguniiita
Have you tried copy and paste the old version after 5.0 installed, or install 3.1 bundle again?
And .net 3.1 can work with .net 5.0, you can check side-by-side-executionand multiple-versions-of-net-on-the-same-server
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. -
Lex Li (Microsoft) 4,662 Reputation points Microsoft Employee
2020-12-04T01:16:58.793+00:00 ASP.NET Core module used to be backward compatible. For example, release 13.0 supports both ASP.NET Core 3.0 and 2.2, https://github.com/dotnet/AspNetCore/issues/15243
So you probably can assume the same applies to .NET 5 and .NET Core 3.1, though this is no explicit documentation on that.
-
Rafik Samman 7 Reputation points
2021-10-29T20:29:41.35+00:00 It doesn't seem like .net core 3.1 and .net 5.0 are side by side anymore.
I've had this issue multiple times now.
I'm using .net 5.0.11 and .net core 3.1.20 was installed via windows update and it broke my compiling and publishing of my angular 11 .net core 5.0 app.Thanks,
Rafik Samman