![]() ![]() The solution is just open in your project Assembly-CSharp.csproj which is included some of your project settings.Then add this line of codes to the Script I've just found the problem it's because of OmniSharp cant connect to the server properly. How can I solve this problem? I also asked this question on both reddit and the Unity forums with no success. Successfully loaded project file 'c:\Users\stpau\New Unity Project\Assembly-CSharp.csproj'.Īdding project 'c:\Users\stpau\New Unity Project\Assembly-CSharp.csproj' Omnisharp server running using Stdio at location 'c:\Users\stpau\New Unity Project' on host 8980. Invoking Workspace Options Provider: .EditorConfigWorkspaceOptionsProvider, Order: 200 Invoking Workspace Options Provider: .RenameWorkspaceOptionsProvider, Order: 100 Loading project: c:\Users\stpau\New Unity Project\Assembly-CSharp.csproj Invoking Workspace Options Provider: .CSharpFormattingWorkspaceOptionsProvider, Order: 0 ![]() : ĭetecting CSX files in 'c:\Users\stpau\New Unity Project'. Queue project update for 'c:\Users\stpau\New Unity Project\Assembly-CSharp.csproj' MSBuildToolsPath = C:\Users\stpau\.vscode\extensions\ms-vscode.csharp-1.21.9\.omnisharp\1.34.9\.msbuild\Current\Binĭetecting Cake files in 'c:\Users\stpau\New Unity Project'.ĭetecting projects in 'c:\Users\stpau\New Unity Project\New Unity Project.sln'. MSBuildExtensionsPath = C:\Users\stpau\.vscode\extensions\ms-vscode.csharp-1.21.9\.omnisharp\1.34.9\.msbuild Registered MSBuild instance: StandAlone 16.3 - "C:\Users\stpau\.vscode\extensions\ms-vscode.csharp-1.21.9\.omnisharp\1.34.9\.msbuild\Current\Bin"ĬscToolPath = C:\Users\stpau\.vscode\extensions\ms-vscode.csharp-1.21.9\.omnisharp\1.34.9\.msbuild\Current\Bin\Roslyn MSBUILD_EXE_PATH environment variable set to 'C:\Users\stpau\.vscode\extensions\ms-vscode.csharp-1.21.9\.omnisharp\1.34.9\.msbuild\Current\Bin\MSBuild.exe' Path: C:\Users\stpau\.vscode\extensions\ms-vscode.csharp-1.21.9\.omnisharp\1.34.9\OmniSharp.exe Target: c:\Users\stpau\New Unity Project\New Unity Project.sln Here is the omnisharp log: Starting OmniSharp server at 2020. I have 4.7.1 already installed so this may not be the problem. NET version from whatever I manually typed to 4.7.1. When attempting solution 4, as stated above, Unity (or VS Code for all I know) automatically changes. I do not know if this is intentional or if this is the problem. GlobalSection(MonoDevelopProperties) = preSolutionįor some reason, the sln file seems to be used for Visual Studio 2010. GlobalSection(SolutionProperties) = preSolution Project(".Release|Any CPU.Build.0 = Release|Any CPU The sln file the project creates reads Microsoft Visual Studio Solution File, Format Version 11.00
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |