2017-08-31 47 views
0

我有以下問題。升級到vs2017 15.3後,我收到以下錯誤Force vs2017 15.3使用dotnet sdk 1.1.0而不是2.0.0

"Duplicate 'Content' items were included. The .NET SDK includes 'Content' items from your project directory by default. You can either remove these items from your project file, or set the 'EnableDefaultContentItems' property to 'false'". 
C:\Program Files\dotnet\sdk\2.0.0\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Sdk.DefaultItems.targets 

我使用的是第三方庫ABP框架所以它是不可能的,因爲他們來爲DLL編輯的csproj文件。

如何強制Visual Studio來使用C:\ Program Files文件\ DOTNET \ SDK \ 1.1.0 \

回答