Unity3d项目崩溃VSCode

Unity3d项目崩溃VSCode,unity3d,visual-studio-code,Unity3d,Visual Studio Code,中型Unity3d项目。在OS X上的VSCode中可以正常打开,在Windows上的VSCode中打开会导致深度冻结(和崩溃) 到目前为止,我发现: Unity3d使用目标.Net framework“v2.0”创建.csproj文件。目标在开发环境之间持续存在。 OmniSharp记录了许多警告,如: [WARNING:OmniSharp.MSBuild.MSBuildProjectSystem] The primary reference "System.Xml.Linq" could n

中型Unity3d项目。在OS X上的VSCode中可以正常打开,在Windows上的VSCode中打开会导致深度冻结(和崩溃)

到目前为止,我发现: Unity3d使用目标.Net framework“v2.0”创建.csproj文件。目标在开发环境之间持续存在。 OmniSharp记录了许多警告,如:

[WARNING:OmniSharp.MSBuild.MSBuildProjectSystem] The primary reference "System.Xml.Linq" could not be resolved because it has an indirect dependency on the framework assembly "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "System.Xml.Linq" or retarget your application to a framework version which contains "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
在.csproj文件中将目标框架手动切换到“v3.5”可以解决警告并避免VSCode冻结,但只要我向project Unity添加新文件,就会重新生成.csproj文件


你知道为什么它可以在Mac上运行,但拒绝在Windows上运行(不做修改)吗?

解决了这个问题。原来正是集成插件将目标框架从Unity的默认(且有效)版本“v3.5”切换到了“v2.0”


已提交请求:)

建议将此报告作为错误报告提交到