.NET 5 RC 2 and ASP.NET application

Hello,
Error compiling an ASP.NET Core 3.1 application after installing .NET 5 RC 2:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\RemObjects Software\Elements\RemObjects.Elements.targets(70,3): error : The rzc tool was not found as expected at ‘C:\Program Files\dotnet\sdk\5.0.100-rc.2.20479.15\Sdks\Microsoft.NET.Sdk.Razor\tools\netcoreapp3.0\rzc.dll’

For .NET Core 3, the tool path is
C:\Program Files\dotnet\sdk\3.1.403\Sdks\Microsoft.NET.Sdk.Razor\tools\netcoreapp3.0\rzc.dll
For .NET 5, it is
C:\Program Files\dotnet\sdk\5.0.100-rc.2.20479.15\Sdks\Microsoft.NET.Sdk.Razor\tools\rzc.dll
So EBuild doesn’t look at the right place.

BUT as the application is an ASP.NET Core 3 application, EBuild must look at the 3.1 version, not at the 5.0 version

Sigh,. of course MS has to break stuff like this — between Release Candidates, no less. I’ll have a look.

Fixed for Friday.

1 Like