.NetStandard;.netCore;FX(.NetFrameWork)之間引用關系
FX引用.NetCore:
不通過
NetStandard引用.NetCore:
不通過
.NetCore引用FX:
通過
.NetCore引用.NetStandard:
通過
.NetStandard引用FX:
通過
FX引用.NetStandard:
通過
通過編輯XX.csproj工程文件增加以下代碼,替換include中需要引用路徑即引用了其他庫
<ItemGroup>
<ProjectReference Include="..\FF.csproj" />
</ItemGroup>
題外話:
.NETCore版本的ASP.NETCore2.0與.net Framework版本的ASP.NETCore2.0區別:
在創建ASP.NETCoreWeb項目時,有兩個版本可供選擇,如下
.NETCore:無法引用FX庫
NETFramwWork:可以引用FX庫,但是部署Linux需要配合Mono使用
