-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Red squigglies in all razor pages in latest update (2.28.11) #10351
Comments
@lonix1 , we're sorry you are running into this. We noticed the same recently and are already working on it, and we'll keep you (and others who run into it) posted here. |
@phil-allen-msft NP these things happen. My fault for being an early adopter! :-) |
Same problem here: |
@jeffnyalik you should be able to roll back to the previous version of the extension in VS Code, using the "Install specific version" dropdown |
@davidwengier I have rolled back to the previous version and the red squiggly still persist. Here is the extension am using: |
I rolled back to the previous version ( |
Thanks @Ionix1 and @davidwengier rolling back C# for Visual Studio Code to version 2.23.15 solved the issue. |
Update: We understand what caused the issue, we understand why it didn't occur before, and have a plan to fix it. We'll keep you posted here. |
Part of fixing #10351 Copied build targets to the razor repo so they can be shipped by us and used in vs code
…ooling instead of the sdk (#73524) Roslyn side of dotnet/razor#10351 See dotnet/razor#10377
Fix has been merged into prerelease in vscode with dotnet/vscode-csharp#7134 |
To anyone who lands here, don't upgrade to Stay on |
Just installed |
Environment data
dotnet --info
output: 7.0.18VS Code version: 1.89.0 (latest)
C# Extension version: 2.28.11 (latest)
OmniSharp log
n/a
Steps to reproduce
I just updated to the latest extension, offered a few hours ago.
Now all my razor pages show red squigglies, even though they compile correctly and the app runs without error.
The red squigglies make this version completely unusable so I intend to roll back to a previous version.
Expected behavior
No squigglies.
Actual behavior
Squigglies.
Additional context
Here's an example from one of many razor (Foo.cshtml) files:
The text was updated successfully, but these errors were encountered: