Skip to content
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

The only C# token not being coloured correctly is the enum type and member #4755

Closed
katymariehughes opened this issue Sep 9, 2021 · 5 comments

Comments

@katymariehughes
Copy link

katymariehughes commented Sep 9, 2021

Issue Description

I'm not able to recolour the enum type and member tokens, despite having

"editor.semanticHighlighting.enabled": true,
"csharp.semanticHighlighting.enabled":true,

and

       {
                    "scope": "variable.other.enummember.cs",
                    "settings": {
                        "foreground": "#D4D4D4"
                    }
                },
                {
                    "scope": "entity.name.type.interface",
                    "settings": {
                        "foreground": "#b8d7a3"
                    }
                },
                {
                    "scope": "entity.name.type.enum.cs",
                    "settings": {
                        "foreground": "#b8d7a3"
                    }
                },

set under my "editor.tokenColorCustomizations"

I try each variation of the scope that I can find on the internet, with .cs, without etc.

The colouring is correct on the enum file itself, but it's usage in other classes is not. It makes it look like a static property on a class or something, e.g. GameStatus.Completed on the second image below.

Screenshot 2021-09-10 at 14 37 02
Screenshot 2021-09-10 at 14 40 12

OmniSharp log

Post the output from Output-->OmniSharp log here

C# log

Post the output from Output-->C# here

Environment information

VSCode version: 1.60.0
C# Extension: 1.23.15

Mono Information OmniSharp using built-in mono
Dotnet Information .NET SDK (reflecting any global.json): Version: 5.0.302 Commit: c005824e35

Runtime Environment:
OS Name: Mac OS X
OS Version: 11.0
OS Platform: Darwin
RID: osx.11.0-x64
Base Path: /usr/local/share/dotnet/sdk/5.0.302/

Host (useful for support):
Version: 5.0.8
Commit: 35964c9215

.NET SDKs installed:
3.1.411 [/usr/local/share/dotnet/sdk]
5.0.302 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.17 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.17 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

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

Visual Studio Code Extensions
Extension Author Version
csharp ms-dotnettools 1.23.15
csharpextensions jchannon 1.3.1
gitlens eamodio 11.6.0
prettier-vscode SimonSiefke 2.0.7
vs-2019-theme kast789 0.3.0
vs-keybindings ms-vscode 0.2.1
vscode-nuget-package-manager jmrog 1.1.6
vscode-solution-explorer fernandoescolar 0.4.4
vscodeintellicode VisualStudioExptTeam 1.2.14
@JoeRobich
Copy link
Member

JoeRobich commented Sep 11, 2021

@katymariehughes So the difference between the TextMate highlighting and the Semantic highlighting is that the semantic highlighter knows what type an Identifier is when it is used. The reason you see the colors correct in your GameStatus class is because it is obvious from the declaration that the GameStatus identifier is an enum. Elsewhere in your code when you use the GameStatus enum the TextMate grammar doesn't have the information to make the connection.

VS Code has a handy Inspect Token Scope command that you can use to see how the token are being parsed in your code. We can see that the TextMate scope for a usage of an enum is scoped as variable.other.object.cs not variable.other.enummember.cs which is why the color is different.

image

The good news is that since you are using semantic highlighting, you customize these colors by their semantic token name by configuring editor.semanticTokenColorCustomizations.

    "editor.semanticTokenColorCustomizations": {
        "[Visual Studio 2019 Dark]": {
            "enabled": true,
            "rules": {
                "enumMember": "#D4D4D4",
                "interface": "#b8d7a3",
                "enum": "#b8d7a3"
            }
        }
    },

Also, I noticed that the colors you are using are the same as in the included Visual Studio 2019 Dark theme, so you might want to give it a try first.

@katymariehughes
Copy link
Author

katymariehughes commented Sep 12, 2021

Hi Joe,

Thanks for such a detailed response! I've removed all my text mate rules and replaced just with your semantic ones, but still no luck I'm afraid :( And yes I'm using the VS 2019 dark theme. The colours don't seem right at all, namespaces, constructor isn't green, 'or' keyword, 'Guard' static class, non-white properties, non-green interface.

Really appreciate your help! The colouring is throwing me off haha, frustrating when you're trying to replicate the environment you're used to

Screenshot 2021-09-12 at 23 32 58

@JoeRobich
Copy link
Member

JoeRobich commented Sep 13, 2021

@katymariehughes It appears that your project may not be properly loading. Can you share the OmniSharp Log from the VS Code Output pane?

@nohwnd nohwnd added the Triaged label Sep 14, 2021
@katymariehughes
Copy link
Author

Had to uninstall and reinstall VS Code to even get an output weirdly, ha!
Thanks so much for helping me with this

Starting OmniSharp server at 9/13/2021, 11:19:21 PM
    Target: /Users/katyhughes/Projects/StakeGame/StakeGame.sln

OmniSharp server started.
    Path: /Users/katyhughes/.vscode/extensions/ms-dotnettools.csharp-1.23.15/.omnisharp/1.37.15/run
    PID: 33285

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on MacOS 11.5.1 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 17.0.0 - "/Users/katyhughes/.vscode/extensions/ms-dotnettools.csharp-1.23.15/.omnisharp/1.37.15/omnisharp/.msbuild/Current/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to '/Users/katyhughes/.vscode/extensions/ms-dotnettools.csharp-1.23.15/.omnisharp/1.37.15/omnisharp/.msbuild/Current/Bin/MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 17.0.0 - "/Users/katyhughes/.vscode/extensions/ms-dotnettools.csharp-1.23.15/.omnisharp/1.37.15/omnisharp/.msbuild/Current/Bin"
            CscToolExe = csc.exe
            MSBuildToolsPath = /Users/katyhughes/.vscode/extensions/ms-dotnettools.csharp-1.23.15/.omnisharp/1.37.15/omnisharp/.msbuild/Current/Bin
            CscToolPath = /Users/katyhughes/.vscode/extensions/ms-dotnettools.csharp-1.23.15/.omnisharp/1.37.15/omnisharp/.msbuild/Current/Bin/Roslyn
            BypassFrameworkInstallChecks = true
            MSBuildExtensionsPath = /Users/katyhughes/.vscode/extensions/ms-dotnettools.csharp-1.23.15/.omnisharp/1.37.15/omnisharp/.msbuild
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/Users/katyhughes/Projects/StakeGame'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
        Detecting projects in '/Users/katyhughes/Projects/StakeGame/StakeGame.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/katyhughes/Projects/StakeGame/StakeGame.Domain/StakeGame.Domain.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/katyhughes/Projects/StakeGame/StakeGame.Core/StakeGame.Core.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/katyhughes/Projects/StakeGame/StakeGame.UnitTests/StakeGame.UnitTests.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/katyhughes/Projects/StakeGame/StakeGame.API/StakeGame.API.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/katyhughes/Projects/StakeGame/StakeGame.Data/StakeGame.Data.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/katyhughes/Projects/StakeGame/StakeGame.MessageBus/StakeGame.MessageBus.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/katyhughes/Projects/StakeGame/StakeGame.Interface/StakeGame.Interface.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/katyhughes/Projects/StakeGame/StakeGame.Domain.UnitTests/StakeGame.Domain.UnitTests.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/katyhughes/Projects/StakeGame/StakeGame.API.UnitTests/StakeGame.API.UnitTests.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/Users/katyhughes/Projects/StakeGame'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/Users/katyhughes/Projects/StakeGame' on host 33247.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/katyhughes/Projects/StakeGame/StakeGame.Domain/StakeGame.Domain.csproj
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Core/bin/Debug/net5.0/StakeGame.Core.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/Users/katyhughes/Projects/StakeGame/StakeGame.Domain/StakeGame.Domain.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/Users/katyhughes/Projects/StakeGame/StakeGame.Domain/StakeGame.Domain.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/katyhughes/Projects/StakeGame/StakeGame.Core/StakeGame.Core.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/Users/katyhughes/Projects/StakeGame/StakeGame.Core/StakeGame.Core.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/Users/katyhughes/Projects/StakeGame/StakeGame.Core/StakeGame.Core.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/katyhughes/Projects/StakeGame/StakeGame.UnitTests/StakeGame.UnitTests.csproj
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Core/bin/Debug/net5.0/StakeGame.Core.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Domain/bin/Debug/net5.0/StakeGame.Domain.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/Users/katyhughes/Projects/StakeGame/StakeGame.UnitTests/StakeGame.UnitTests.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/Users/katyhughes/Projects/StakeGame/StakeGame.UnitTests/StakeGame.UnitTests.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/katyhughes/Projects/StakeGame/StakeGame.API/StakeGame.API.csproj
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Core/bin/Debug/net5.0/StakeGame.Core.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Data/bin/Debug/net5.0/StakeGame.Data.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Domain/bin/Debug/net5.0/StakeGame.Domain.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Interface/bin/Debug/net5.0/StakeGame.Interface.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/Users/katyhughes/Projects/StakeGame/StakeGame.API/StakeGame.API.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/Users/katyhughes/Projects/StakeGame/StakeGame.API/StakeGame.API.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/katyhughes/Projects/StakeGame/StakeGame.Data/StakeGame.Data.csproj
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Core/bin/Debug/net5.0/StakeGame.Core.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Domain/bin/Debug/net5.0/StakeGame.Domain.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Interface/bin/Debug/net5.0/StakeGame.Interface.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/Users/katyhughes/Projects/StakeGame/StakeGame.Data/StakeGame.Data.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/Users/katyhughes/Projects/StakeGame/StakeGame.Data/StakeGame.Data.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/katyhughes/Projects/StakeGame/StakeGame.MessageBus/StakeGame.MessageBus.csproj
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Core/bin/Debug/net5.0/StakeGame.Core.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Data/bin/Debug/net5.0/StakeGame.Data.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Domain/bin/Debug/net5.0/StakeGame.Domain.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Interface/bin/Debug/net5.0/StakeGame.Interface.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/Users/katyhughes/Projects/StakeGame/StakeGame.MessageBus/StakeGame.MessageBus.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/Users/katyhughes/Projects/StakeGame/StakeGame.MessageBus/StakeGame.MessageBus.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/katyhughes/Projects/StakeGame/StakeGame.Interface/StakeGame.Interface.csproj
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Core/bin/Debug/net5.0/StakeGame.Core.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Domain/bin/Debug/net5.0/StakeGame.Domain.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/Users/katyhughes/Projects/StakeGame/StakeGame.Interface/StakeGame.Interface.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/Users/katyhughes/Projects/StakeGame/StakeGame.Interface/StakeGame.Interface.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/katyhughes/Projects/StakeGame/StakeGame.Domain.UnitTests/StakeGame.Domain.UnitTests.csproj
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Core/bin/Debug/net5.0/StakeGame.Core.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Domain/bin/Debug/net5.0/StakeGame.Domain.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/Users/katyhughes/Projects/StakeGame/StakeGame.Domain.UnitTests/StakeGame.Domain.UnitTests.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/Users/katyhughes/Projects/StakeGame/StakeGame.Domain.UnitTests/StakeGame.Domain.UnitTests.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/katyhughes/Projects/StakeGame/StakeGame.API.UnitTests/StakeGame.API.UnitTests.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/Users/katyhughes/Projects/StakeGame/StakeGame.API.UnitTests/StakeGame.API.UnitTests.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/Users/katyhughes/Projects/StakeGame/StakeGame.API.UnitTests/StakeGame.API.UnitTests.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: StakeGame.Domain
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: StakeGame.Core
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: StakeGame.UnitTests
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: StakeGame.API
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Core/bin/Debug/net5.0/StakeGame.Core.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Data/bin/Debug/net5.0/StakeGame.Data.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Domain/bin/Debug/net5.0/StakeGame.Domain.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Can't find custom attr constructor image: /Users/katyhughes/Projects/StakeGame/StakeGame.Interface/bin/Debug/net5.0/StakeGame.Interface.dll mtoken: 0x0a000001 due to: Cannot resolve dependency to assembly because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: StakeGame.Data
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: StakeGame.MessageBus
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: StakeGame.Interface
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: StakeGame.Domain.UnitTests
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: StakeGame.API.UnitTests
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /quickinfo but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /findusages but could not find request.

@JoeRobich
Copy link
Member

A lot has changed with O# project loading since this issue was opened. If you are still having problems, please open a new issue at https://github.com/omnisharp/omnisharp-roslyn/issues

@JoeRobich JoeRobich closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants