为了账号安全,请及时绑定邮箱和手机立即绑定

mac / linux dotnet build找不到框架“ .NETFramework ..”

mac / linux dotnet build找不到框架“ .NETFramework ..”

慕森卡 2021-04-09 17:19:00
尝试构建针对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 回答

  • 3 回答
  • 0 关注
  • 485 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信