Skip to content

Commit

Permalink
Set EnableDefaultItems=false in init-tools.msbuild
Browse files Browse the repository at this point in the history
By default the new SDK will try to find all files automatically
by doing **\* inclusions. For our restore project we don't need
any of that so we turn it off.

See:
https://github.com/dotnet/sdk/blob/master/src/Tasks/Microsoft.NET.Build.Tasks/build/Microsoft.NET.Sdk.DefaultItems.props

for what it currently tries to find automatically.
  • Loading branch information
weshaggard committed Apr 28, 2017
1 parent 04b9fb1 commit 10ba200
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init-tools.msbuild
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp1.0</TargetFramework>
<EnableDefaultItems>false</EnableDefaultItems>
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)Tools/$(BuildToolsPackageVersion)</BaseIntermediateOutputPath>
</PropertyGroup>
Expand Down

0 comments on commit 10ba200

Please sign in to comment.