Skip to content

Syntax Correction/Highlighting has Vanished in VSC #5244

@NinjaNezumi

Description

@NinjaNezumi

HI everyone!

So, apparently OmniSharp broke, I don't know why or how, and it took me a half dozen uninstalls and reinstalls. At one point I accidentally installed x86 dotnet. Well, I also installed and reinstalled the main version of VS.

Whatever happened, it now works.

Issue Description

As of 1 week ago (or so) my VSC stopped showing syntax issues with my code. The red wavy lines disappeared. I am in the middle of programming a game in Unity 3D and using VSC to do it.

Steps to Reproduce

It just won't show errors in my code as being errors.

Expected Behavior

When I mistype code, like this:

pubblic int variable;

I expect pubblic to have wavy red lines under it.

Actual Behavior

But VSC stopped doing wavy lines under mistyped code a week ago.

I don't know if I accidentally hit a button or not.

Logs

OmniSharp log

DetailsStarting OmniSharp server at 5/28/2022, 4:42:03 PM Target: c:\Users\bobth\unity projects\8 Bit Testing Grounds\8 Bit Testing Grounds.sln

OmniSharp server started with .NET 6.0.300
.
Path: c:\Users\bobth.vscode\extensions\ms-dotnettools.csharp-1.25.0-win32-x64.omnisharp\1.39.0-net6.0\OmniSharp.dll
PID: 16976

Unhandled exception. System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (0x8007000B)
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

C# log

Details there is nothing in the C# log

Environment information

VSCode version: 1.67.2
C# Extension: 1.25.0

Dotnet Information .NET SDK (reflecting any global.json): Version: 6.0.300 Commit: 8473146e7d

Runtime Environment:
OS Name: Windows
OS Version: 10.0.22000
OS Platform: Windows
RID: win10-x86
Base Path: C:\Program Files (x86)\dotnet\sdk\6.0.300\

Host (useful for support):
Version: 6.0.5
Commit: 70ae3df4a6

.NET SDKs installed:
6.0.300 [C:\Program Files (x86)\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.5 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.5 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.5 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions
Extension Author Version
csharp ms-dotnettools 1.25.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions