VS Code和Unity OSX错误

时间:2015-08-14 02:05:46

标签: unity3d visual-studio-code

我在使用Unity项目连接VSCode时出现问题。我遵循了所有标准教程,并使所有工作都使用0.5。我昨天更新到0.7,现在我收到以下错误。试图修复这个问题,但没有运气。现在,当我回到0.5时,我得到完全相同的问题。试过一个新的Unity项目,同样的错误。非常感谢任何帮助

Starting OmniSharp at '/Users/Daniel/Documents/Test/Test.sln'...
[ERROR:OmniSharp.Startup] The project system 'MSBuildProjectSystem' threw an exception.
System.ArgumentException: Value does not fall within the expected range.
  at Microsoft.CodeAnalysis.MSBuild.SectionBlock..ctor (System.String type, System.String parenthesizedName, System.String value, IEnumerable`1 keyValuePairs) [0x00000] in <filename unknown>:0 
  at Microsoft.CodeAnalysis.MSBuild.SectionBlock.Parse (System.IO.TextReader reader) [0x00000] in <filename unknown>:0 
  at Microsoft.CodeAnalysis.MSBuild.SolutionFile.ParseGlobal (System.IO.TextReader reader) [0x00000] in <filename unknown>:0 
  at Microsoft.CodeAnalysis.MSBuild.SolutionFile.Parse (System.IO.TextReader reader) [0x00000] in <filename unknown>:0 
  at OmniSharp.MSBuild.MSBuildProjectSystem.Initalize () [0x00000] in <filename unknown>:0 
  at OmniSharp.Startup.Configure (IApplicationBuilder app, ILoggerFactory loggerFactory, IOmnisharpEnvironment env, ISharedTextWriter writer) [0x00000] in <filename unknown>:0 

1 个答案:

答案 0 :(得分:0)

似乎OmniSharp无法处理您的sln文件。您可以在此发布任何更改或直接发送给我们,以便我们进行分析吗?