Creating a new ASP.NET Core MVC/Razor-based Web Application for Mercury using Fire, if I then try to build the project without any changes, I get several build errors which frankly baffle me because I don’t see anything wrong. For example, I see errors “semicolon expected”, but there is already a semicolon. Weird.
E: The `Microsoft.AspNetCore.Mvc.Razor.Extensions.dll` library was not found as expected in '/usr/local/share/dotnet/sdk/9.0.100-preview.3.24204.13/Sdks/Microsoft.NET.Sdk.Razor'
I dot really have the tome today to investigate that one, but can you share an example what the code files that have the “expression expected” look like?
I’m wondering of latest Razor generates some C#11/12 syntax we don’t support yet…
Thanks, Marc! I wondered if it was something like that. Unfortunately for me, I’m trying to learn too many new (to me) things at once: ASP.NET Core + MacOS + Elements, so I don’t easily recognize what is going on. Thanks for logging the bug.
Oddly, this seems to not be a new C# feature, just a corner-case syntax we must have missed I(the recent changes to using are all unrelated to this). It kind makes sense that global:: would be supported here.