Skip to content
This repository has been archived by the owner on Sep 21, 2018. It is now read-only.

Commit

Permalink
Merge pull request #733 from mlorbetske/FixGlobalExcludesForStarterWeb
Browse files Browse the repository at this point in the history
Move GlobalExclude out of any conditions
  • Loading branch information
mlorbetske authored Dec 1, 2016
2 parents 18540fa + 909ae46 commit 1cfb89c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/BaseTemplates/EmptyWeb/EmptyWeb.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project ToolsVersion="15.0" Sdk="Microsoft.Net.Sdk.Web">
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down
7 changes: 5 additions & 2 deletions src/BaseTemplates/StarterWeb/StarterWeb.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project ToolsVersion="15.0" Sdk="Microsoft.Net.Sdk.Web">
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand All @@ -9,13 +9,16 @@

<PropertyGroup>
<PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8+wp8+wpa81;</PackageTargetFallback>
<GlobalExclude>$(GlobalExclude);bin\**;obj\**;node_modules\**;jspm_packages\**;bower_components\**;**\*.user;**\*.*proj</GlobalExclude>
</PropertyGroup>$endif$$if$ ($aspnet_useusersecrets$ == true)

<PropertyGroup>
<UserSecretsId>aspnet-$safeprojectname$-$guid2$</UserSecretsId>
</PropertyGroup>$endif$

<PropertyGroup>
<GlobalExclude>$(GlobalExclude);bin\**;obj\**;node_modules\**;jspm_packages\**;bower_components\**;**\*.user;**\*.*proj</GlobalExclude>
</PropertyGroup>

<ItemGroup>
<None Include="**\*" />
<Compile Include="**\*.cs" />
Expand Down
2 changes: 1 addition & 1 deletion src/BaseTemplates/WebAPI/WebAPI.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project ToolsVersion="15.0" Sdk="Microsoft.Net.Sdk.Web">
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<OutputType>Exe</OutputType>
Expand Down

0 comments on commit 1cfb89c

Please sign in to comment.