亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

You must add a reference to assembly 'netstandard'

You must add a reference to assembly 'netstandard'

瀟湘沐 2018-07-29 08:17:46
用VS2017 build一個既包含net471項目又包含netstandard2.0項目的.net core解決方案時總是出現下面的錯誤The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
查看完整描述

1 回答

?
慕仙森

TA貢獻1827條經驗 獲得超8個贊

在 github 上 You must add a reference to assembly netstandard errors 中找到了解決方法,在 .csproj 中手工添加如下的配置:

<Reference Include="netstandard" />



查看完整回答
反對 回復 2018-08-20
  • 1 回答
  • 0 關注
  • 1471 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號