Closed jtsom closed 2 years ago
@ryanbrandenburg any ideas?
There isn't razor support for arm64 yet. Building https://github.com/dotnet/razor-tooling/releases/tag/v17.0-preview3 yourself with osx-arm64 in the csproj works fine. You can specify the path to the languageserver in settings.json
Not sure how "arm64" vs not arm64 matters. Taking out the two On... parameters from the EditForm, but keeping the Model="" clears the errors.
Additionally, opening the project in VS for Mac has no issues.
I have the same issue in windiows 11 x64
Agreed. Just did a simple test on Windows 10 and am seeing the same issue. It is not related to arm64.
Closing because I opened https://github.com/dotnet/razor-tooling/issues/6350 against the razor-tooling repo.
Issue Description
In a simple HTML Blazor file with an edit form, errors are being shown in the error panel. Unsure the cause.
The razor file:
The errors:
The index.razor__virtual file:
Steps to Reproduce
Add an EditForm to a Blazor project.
Expected Behavior
No errors
Actual Behavior
Errors are shown.
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.67.0-insider C# Extension: 1.24.4
Mono Information
OmniSharp using built-in monoDotnet Information
.NET SDK (reflecting any global.json): Version: 6.0.202 Commit: f8a55617d2 Runtime Environment: OS Name: Mac OS X OS Version: 12.3 OS Platform: Darwin RID: osx.12-arm64 Base Path: /usr/local/share/dotnet/sdk/6.0.202/ Host (useful for support): Version: 6.0.4 Commit: be98e88c76 .NET SDKs installed: 6.0.102 [/usr/local/share/dotnet/sdk] 6.0.201 [/usr/local/share/dotnet/sdk] 6.0.202 [/usr/local/share/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 6.0.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-downloadVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |Angular2|johnpapa|13.0.0| |asm-code-lens|maziac|1.10.2| |csharp|ms-dotnettools|1.24.4| |EditorConfig|EditorConfig|0.16.4| |githistory|donjayamanne|0.6.19| |hexeditor|ms-vscode|1.9.6| |js-debug-nightly|ms-vscode|2022.4.2117| |material-icon-theme|PKief|4.16.0| |msbuild-project-tools|tintoy|0.4.3| |ng-template|Angular|13.3.1| |night-owl|sdras|2.0.1| |open-in-browser|techer|2.0.0| |ossaction|pgarcia|1.0.0| |output-colorizer|IBM|0.1.2| |path-intellisense|christian-kohler|2.8.0| |quicktype|quicktype|12.0.46| |rails|bung87|0.17.8| |slim|sianglim|0.1.2| |TabOut|albert|0.2.1| |vscode-eslint|dbaeumer|2.2.2| |vscode-gemfile|bung87|0.4.2| |vscode-svgviewer|cssho|2.0.0| |vscode-thunder-client|rangav|1.16.2| |vscode-typescript-next|ms-vscode|4.7.20220421| |vscodeintellicode|VisualStudioExptTeam|1.2.20| |winteriscoming|johnpapa|1.4.4|;