嘗試構建針對net47而不是.netcore或.net std的Microsoft.NET.Sdk樣式項目時。該dotnet build會提供有關失蹤目標包錯誤。msbuild可以代替,但是我更喜歡使用dotnet build。有沒有辦法。/usr/local/share/dotnet/sdk/2.1.200/Microsoft.Common.CurrentVersion.targets(1179,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.7" 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.
- 3 回答
- 0 關注
- 513 瀏覽
添加回答
舉報
0/150
提交
取消