Getting an error when trying to run a new Mercury MVC project

Severity Code Description Project File Line Suppression State
Error () The Microsoft.AspNetCore.Mvc.Razor.Extensions.dll file was not found as expected at ‘C:\Program Files\dotnet\sdk\6.0.100-rc.1.21463.6\Sdks\Microsoft.NET.Sdk.Razor\tools\rzc.dll’ SF.Web C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\RemObjects Software\Elements\RemObjects.Elements.targets 53

The file is there in the directory and is the proper version. I tried running as Admin in case it was a permissions issue, still received the error. Please advise.

My apologies; this error message displays the wrong file path (fixed now). what its really looking for is

<NETCoreSDKFolder>\Sdks\Microsoft.NET.Sdk.Razor\extensions\mvc-3-0\Microsoft.AspNetCore.Mvc.Razor.Extensions.dll

does this file exist? What version of .NET Core are you using? thanx!

Update: looks like this changed for 6.0 (which is still in beta). I’ll log an issue to get Razor support updated to support 6.0.

Logged as bugs://E25380.

bugs://E25380 was closed as fixed.

Actually was fixed a few weeks back, i just forgiot to close the issue :wink: