【发布时间】:2019-02-17 04:24:26
【问题描述】:
如何在 MAC 上使用 .NET 4.x 并使用 VSCode 作为编辑器!
我统一设置了这些设置:
在 VScode 中出现以下错误:
The reference assemblies for framework ".NETFramework,Version=v4.7.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
Failed to load project file '/Data/unity_learn/RIG/Assembly-CSharp.csproj'.
/Data/unity_learn/RIG/Assembly-CSharp.csproj
/Users/doekewartena/.vscode/extensions/ms-vscode.csharp-1.16.0/.omnisharp/1.32.4/omnisharp/msbuild/15.0/Bin/Microsoft.Common.CurrentVersion.targets(1195,5): Error: The reference assemblies for framework ".NETFramework,Version=v4.7.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
我找不到适用于 mac 的 4.x 版本的下载。
【问题讨论】:
-
不幸的是 VS 代码对 .Net Framework 项目的支持非常有限,请参阅 here 了解一些解决方法
标签: c# .net macos unity3d visual-studio-code