dotnet / dotnet/vscode-csharp

For Unity2018 project, Failed to load project file

Open
#8,426 2 comments 0 reactions 0 assignees View on GitHub
OmniSharp
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

## Environment data
`dotnet --info` output:
```
.NET SDK:
Version: 8.0.412
Commit: 819e1a9566
Workload version: 8.0.400-manifests.9cf71931
MSBuild version: 17.11.31+933b72e36

运行时环境:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\8.0.412\

已安装 .NET 工作负载:
配置为在安装新清单时使用 loose manifests。
没有要显示的已安装工作负载。

Host:
Version: 8.0.18
Architecture: x64
Commit: ef853a7105

.NET SDKs installed:
8.0.412 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.18 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.18 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.18 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download
```
VS Code version:
```
Version: 1.102.0 (system setup)
Commit: cb0c47c0cfaad0757385834bd89d410c78a856c0
Date: 2025-07-09T22:10:34.600Z
Electron: 35.6.0
ElectronBuildId: 11847422
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Windows_NT x64 10.0.26100
```
C# Extension version:
```
Name: C#
Id: ms-dotnettools.csharp
Description: Base language support for C#
Version: 2.84.19
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp
```

## C# logs
Omnisharp Log output window contents:
```
Starting OmniSharp server at 7/17/2025, 10:27:23 AM
Target: g:\MN02\trunk\matrix\client\client.sln

OmniSharp server started.
Path: c:\Users\Tengzhaoju\.vscode\extensions\ms-dotnettools.csharp-2.84.19-win32-x64\.omnisharp\1.39.12\OmniSharp.exe
PID: 19680

[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: OmniSharp.Cake
[dbug]: OmniSharp.CompositionHostBuilder
Loaded OmniSharp.Cake, Version=1.39.0.0, Culture=neutral, PublicKeyToken=7e5bf7b3b470b509
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: OmniSharp.DotNetTest
[dbug]: OmniSharp.CompositionHostBuilder
Loaded OmniSharp.DotNetTest, Version=1.39.0.0, Culture=neutral, PublicKeyToken=7e5bf7b3b470b509
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: OmniSharp.Host
[dbug]: OmniSharp.CompositionHostBuilder
Loaded OmniSharp.Host, Version=1.39.0.0, Culture=neutral, PublicKeyToken=7e5bf7b3b470b509
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: OmniSharp.MSBuild
[dbug]: OmniSharp.CompositionHostBuilder
Loaded OmniSharp.MSBuild, Version=1.39.0.0, Culture=neutral, PublicKeyToken=7e5bf7b3b470b509
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: OmniSharp.Roslyn
[dbug]: OmniSharp.CompositionHostBuilder
Loaded OmniSharp.Roslyn, Version=1.39.0.0, Culture=neutral, PublicKeyToken=7e5bf7b3b470b509
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: OmniSharp.Roslyn.CSharp
[dbug]: OmniSharp.CompositionHostBuilder
Loaded OmniSharp.Roslyn.CSharp, Version=1.39.0.0, Culture=neutral, PublicKeyToken=7e5bf7b3b470b509
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: OmniSharp.Script
[dbug]: OmniSharp.CompositionHostBuilder
Loaded OmniSharp.Script, Version=1.39.0.0, Culture=neutral, PublicKeyToken=7e5bf7b3b470b509
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: OmniSharp.Shared
[dbug]: OmniSharp.CompositionHostBuilder
Loaded OmniSharp.Shared, Version=1.39.0.0, Culture=neutral, PublicKeyToken=7e5bf7b3b470b509
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded from path: c:\Users\Tengzhaoju\.vscode\extensions\ms-dotnettools.csharp-2.84.19-win32-x64\.razoromnisharp\OmniSharpPlugin\Microsoft.AspNetCore.Razor.OmniSharpPlugin.dll
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on Windows 6.2.9200.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK
[info]: OmniSharp.Services.DotNetCliService
Using the 'dotnet' on the PATH.
[info]: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
[dbug]: OmniSharp.CompositionHostBuilder
.NET SDK requires MSBuild instances version 16.3 or higher
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 1 MSBuild instance(s)
1: Visual Studio Professional 2022 17.14.36310.24 17.14.14 - "C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin"
[dbug]: OmniSharp.CompositionHostBuilder
MSBuild instance Visual Studio Professional 2022 17.14.36310.24 17.14.14 scored at -2147483648
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: Visual Studio Professional 2022 17.14.36310.24 17.14.14 - "C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin"
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: Microsoft.CodeAnalysis.Features, Version=4.12.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: Microsoft.CodeAnalysis.CSharp.Features, Version=4.12.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: Microsoft.CodeAnalysis.ExternalAccess.OmniSharp, Version=4.12.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
[trce]: OmniSharp.Services.AssemblyLoader
Assembly loaded: Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp, Version=4.12.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
[trce]: OmniSharp.HostServicesAggregator
Successfully added Microsoft.CodeAnalysis.Features, Version=4.12.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 to host service assemblies.
[trce]: OmniSharp.HostServicesAggregator
Successfully added Microsoft.CodeAnalysis.CSharp.Features, Version=4.12.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 to host service assemblies.
[trce]: OmniSharp.HostServicesAggregator
Successfully added Microsoft.CodeAnalysis.ExternalAccess.OmniSharp, Version=4.12.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 to host service assemblies.
[trce]: OmniSharp.HostServicesAggregator
Successfully added Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp, Version=4.12.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 to host service assemblies.
[dbug]: OmniSharp.WorkspaceInitializer
Starting with OmniSharp options: {"RoslynExtensionsOptions":{"EnableDecompilationSupport":true,"EnableAnalyzersSupport":true,"EnableImportCompletion":true,"EnableAsyncCompletion":false,"DocumentAnalysisTimeoutMs":30000,"DiagnosticWorkersThreadCount":9,"AnalyzeOpenDocumentsOnly":true,"InlayHintsOptions":{"EnableForParameters":false,"ForLiteralParameters":false,"ForIndexerParameters":false,"ForObjectCreationParameters":false,"ForOtherParameters":false,"SuppressForParametersThatDifferOnlyBySuffix":false,"SuppressForParametersThatMatchMethodIntent":false,"SuppressForParametersThatMatchArgumentName":false,"EnableForTypes":false,"ForImplicitVariableTypes":false,"ForLambdaParameterTypes":false,"ForImplicitObjectCreation":false},"LocationPaths":null},"FormattingOptions":{"OrganizeImports":false,"EnableEditorConfigSupport":true,"NewLine":"\n","UseTabs":true,"TabSize":4,"IndentationSize":4,"SpacingAfterMethodDeclarationName":false,"SeparateImportDirectiveGroups":false,"SpaceWithinMethodDeclarationParenthesis":false,"SpaceBetweenEmptyMethodDeclarationParentheses":false,"SpaceAfterMethodCallName":false,"SpaceWithinMethodCallParentheses":false,"SpaceBetweenEmptyMethodCallParentheses":false,"SpaceAfterControlFlowStatementKeyword":true,"SpaceWithinExpressionParentheses":false,"SpaceWithinCastParentheses":false,"SpaceWithinOtherParentheses":false,"SpaceAfterCast":false,"SpaceBeforeOpenSquareBracket":false,"SpaceBetweenEmptySquareBrackets":false,"SpaceWithinSquareBrackets":false,"SpaceAfterColonInBaseTypeDeclaration":true,"SpaceAfterComma":true,"SpaceAfterDot":false,"SpaceAfterSemicolonsInForStatement":true,"SpaceBeforeColonInBaseTypeDeclaration":true,"SpaceBeforeComma":false,"SpaceBeforeDot":false,"SpaceBeforeSemicolonsInForStatement":false,"SpacingAroundBinaryOperator":"single","IndentBraces":false,"IndentBlock":true,"IndentSwitchSection":true,"IndentSwitchCaseSection":true,"IndentSwitchCaseSectionWhenBlock":true,"LabelPositioning":"oneLess","WrappingPreserveSingleLine":true,"WrappingKeepStatementsOnSingleLine":true,"NewLinesForBracesInTypes":true,"NewLinesForBracesInMethods":true,"NewLinesForBracesInProperties":true,"NewLinesForBracesInAccessors":true,"NewLinesForBracesInAnonymousMethods":true,"NewLinesForBracesInControlBlocks":true,"NewLinesForBracesInAnonymousTypes":true,"NewLinesForBracesInObjectCollectionArrayInitializers":true,"NewLinesForBracesInLambdaExpressionBody":true,"NewLineForElse":true,"NewLineForCatch":true,"NewLineForFinally":true,"NewLineForMembersInObjectInit":true,"NewLineForMembersInAnonymousTypes":true,"NewLineForClausesInQuery":true},"FileOptions":{"SystemExcludeSearchPatterns":["**/node_modules/**/*","**/bin/**/*","**/obj/**/*","**/.git/**/*","**/.git","**/.svn","**/.hg","**/.DS_Store","**/Thumbs.db","**/.gitignore","**/.gitmodules","**/*.booproj","**/*.pidb","**/*.suo","**/*.user","**/*.userprefs","**/*.unityproj","**/*.mp3","**/*.mp4","**/*.dll","**/*.exe","**/*.pdf","**/*.mid","**/*.midi","**/*.wav","**/*.gif","**/*.ico","**/*.jpg","**/*.jpeg","**/*.png","**/*.psd","**/*.tga","**/*.tif","**/*.tiff","**/*.3ds","**/*.3DS","**/*.fbx","**/*.FBX","**/*.lxo","**/*.LXO","**/*.ma","**/*.MA","**/*.obj","**/*.OBJ","**/*.asset","**/*.cubemap","**/*.flare","**/*.mat","**/*.meta","**/*.prefab","**/*.unity","**/*.lua.bytes","**/*.skel.bytes","**/*.gif.bytes","build/","Build/","Library/","library/","obj/","Obj/","ProjectSettings/","temp/","Temp/","Assets/.lpproj","streamingassets/"],"ExcludeSearchPatterns":[]},"RenameOptions":{"RenameOverloads":false,"RenameInStrings":false,"RenameInComments":false},"ImplementTypeOptions":{"InsertionBehavior":0,"PropertyGenerationBehavior":0},"DotNetCliOptions":{"LocationPaths":null},"Plugins":{"LocationPaths":null}}
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in 'g:\MN02\trunk\matrix\client\'.
[info]: OmniSharp.Cake.CakeProjectSystem
Did not find any Cake files
[dbug]: OmniSharp.MSBuild.ProjectSystem
MSBuild environment:
Mode: VisualStudio
RunningTests: False
RunningInVisualStudio: False
MSBuildToolsDirectory32: C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin
MSBuildToolsDirectory64: C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64
MSBuildSDKsPath: C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Sdks
CurrentMSBuildConfigurationFile: C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\MSBuild.exe.config
CurrentMSBuildExePath: C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\MSBuild.exe
CurrentMSBuildToolsDirectory: C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64
VisualStudioInstallRootDirectory: C:\Program Files\Microsoft Visual Studio\2022\Professional
MSBuildExtensionsPath: C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild

[info]: OmniSharp.MSBuild.ProjectSystem
Detecting projects in 'g:\MN02\trunk\matrix\client\client.sln'.
[dbug]: OmniSharp.MSBuild.ProjectSystem
Parsing ProjectConfigurationPlatforms of 'g:\MN02\trunk\matrix\client\client.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\spine-csharp.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\Assembly-CSharp.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\spine-timeline.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\Google.Play.AssetDelivery.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\spine-unity.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\Assembly-CSharp-firstpass.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\Google.Play.Common.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\Sirenix.OdinInspector.CompatibilityLayer.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\Google.Play.Core.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\spine-unity-editor.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\Assembly-CSharp-Editor.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\Google.Android.AppBundle.Editor.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\GTCommonExtent.Editor.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\Sirenix.OdinInspector.CompatibilityLayer.Editor.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\spine-timeline-editor.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for 'g:\MN02\trunk\matrix\client\Assembly-CSharp-Editor-firstpass.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in 'g:\MN02\trunk\matrix\client\'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\spine-csharp.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\spine-csharp.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\Assembly-CSharp.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\Assembly-CSharp.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\spine-timeline.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\spine-timeline.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\Google.Play.AssetDelivery.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\Google.Play.AssetDelivery.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\spine-unity.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\spine-unity.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\Assembly-CSharp-firstpass.csproj
[info]: OmniSharp.Script.ScriptProjectSystem
Did not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
Configuration finished.
[info]: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location 'g:\MN02\trunk\matrix\client\' on host 5308.
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 52,
"Command": "/projects"
}
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 53,
"Command": "/projects"
}
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\Assembly-CSharp-firstpass.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\Google.Play.Common.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\Google.Play.Common.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\Sirenix.OdinInspector.CompatibilityLayer.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\Sirenix.OdinInspector.CompatibilityLayer.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\Google.Play.Core.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\Google.Play.Core.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\spine-unity-editor.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\spine-unity-editor.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\Assembly-CSharp-Editor.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\Assembly-CSharp-Editor.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\Google.Android.AppBundle.Editor.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\Google.Android.AppBundle.Editor.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\GTCommonExtent.Editor.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\GTCommonExtent.Editor.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\Sirenix.OdinInspector.CompatibilityLayer.Editor.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\Sirenix.OdinInspector.CompatibilityLayer.Editor.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\spine-timeline-editor.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\spine-timeline-editor.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: g:\MN02\trunk\matrix\client\Assembly-CSharp-Editor-firstpass.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file 'g:\MN02\trunk\matrix\client\Assembly-CSharp-Editor-firstpass.csproj'.
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\spine-csharp.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\Assembly-CSharp.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\spine-timeline.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\Google.Play.AssetDelivery.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\spine-unity.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\Assembly-CSharp-firstpass.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\Google.Play.Common.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\Sirenix.OdinInspector.CompatibilityLayer.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\Google.Play.Core.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\spine-unity-editor.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\Assembly-CSharp-Editor.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\Google.Android.AppBundle.Editor.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\GTCommonExtent.Editor.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\Sirenix.OdinInspector.CompatibilityLayer.Editor.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\spine-timeline-editor.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: g:\MN02\trunk\matrix\client\Assembly-CSharp-Editor-firstpass.csproj
[dbug]: OmniSharp.Stdio.Host
************ Response (573.8692ms) ************
{
"Request_seq": 52,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 80,
"Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
************ Response (574.3197ms) ************
{
"Request_seq": 53,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 81,
"Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 54,
"Command": "/projects"
}
[dbug]: OmniSharp.Stdio.Host
************ Response (0.1398ms) ************
{
"Request_seq": 54,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 133,
"Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 55,
"Command": "/projects"
}
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 56,
"Command": "/projects"
}
[dbug]: OmniSharp.Stdio.Host
************ Response (0.1446ms) ************
{
"Request_seq": 55,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 137,
"Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
************ Response (0.1442ms) ************
{
"Request_seq": 56,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 138,
"Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 57,
"Command": "/projects"
}
[dbug]: OmniSharp.Stdio.Host
************ Response (0.1240ms) ************
{
"Request_seq": 57,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 142,
"Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 58,
"Command": "/projects"
}
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 59,
"Command": "/projects"
}
[dbug]: OmniSharp.Stdio.Host
************ Response (0.1077ms) ************
{
"Request_seq": 58,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 145,
"Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
************ Response (0.1070ms) ************
{
"Request_seq": 59,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 147,
"Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 60,
"Command": "/projects"
}
[dbug]: OmniSharp.Stdio.Host
************ Response (0.1053ms) ************
{
"Request_seq": 60,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 151,
"Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 61,
"Command": "/projects"
}
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 62,
"Command": "/projects"
}
[dbug]: OmniSharp.Stdio.Host
************ Response (0.0860ms) ************
{
"Request_seq": 62,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 156,
"Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
************ Response (0.0966ms) ************
{
"Request_seq": 61,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 154,
"Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
************ Request ************
{
"Type": "request",
"Seq": 63,
"Command": "/projects"
}
[dbug]: OmniSharp.Stdio.Host
************ Response (0.0908ms) ************
{
"Request_seq": 63,
"Command": "/projects",
"Running": true,
"Success": true,
"Message": null,
"Body": {
"MsBuild": {
"SolutionPath": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"Projects": []
},
"Script": {
"Projects": []
}
},
"Seq": 160,
"Type": "response"
}
```

See [this page](https://github.com/dotnet/vscode-csharp/blob/main/SUPPORT.md#collecting-general-logs) for collecting more detailed logs

## Problem

I have been using VS Code with the C# plugin (without installing the C# Dev Kit plugin) to open my Unity game project (Unity 2018.4.32f1 version) on the Windows platform. Everything was working fine originally, but after updating Visual Studio 2022 to a minor version, I can no longer successfully load the Unity project in VS Code. I have tried many methods, such as downgrading the .NET version, but none of them worked.

My Omnisharp configuration options are as follows:
```
"dotnet.defaultSolution": "g:\\MN02\\trunk\\matrix\\client\\client.sln",
"dotnet.server.useOmnisharp": true,
"omnisharp.loggingLevel": "trace",
"omnisharp.useModernNet": false
```

I rely heavily on this development environment and am urgently requesting assistance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.