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 #735 from mlorbetske/RemoveGlobsFromTemplate
Browse files Browse the repository at this point in the history
Remove globs from project files
  • Loading branch information
mlorbetske authored Dec 6, 2016
2 parents 1cfb89c + c76fb11 commit 500a599
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 37 deletions.
11 changes: 0 additions & 11 deletions src/BaseTemplates/EmptyWeb/EmptyWeb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,7 @@
<RuntimeIdentifier>win7-x86</RuntimeIdentifier>$endif$
</PropertyGroup>

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

<ItemGroup>
<None Include="**\*" />
<Compile Include="**\*.cs" />
<EmbeddedResource Include="**\*.resx" />
<Content Include="wwwroot\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="**\*.cshtml" Exclude="wwwroot\**\*.cshtml" CopyToPublishDirectory="PreserveNewest" />
<Content Include="**\*.config" Exclude="wwwroot\**\*.config" CopyToPublishDirectory="PreserveNewest" />
<Content Include="**\*.json" Exclude="wwwroot\**\*.json" CopyToPublishDirectory="PreserveNewest" />
<Folder Include="wwwroot\" />
</ItemGroup>$if$ ($context$ == WebCoreFullFramework)

Expand Down
16 changes: 1 addition & 15 deletions src/BaseTemplates/StarterWeb/StarterWeb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,7 @@

<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" />
<EmbeddedResource Include="**\*.resx" />
<Content Include="wwwroot\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="**\*.cshtml" Exclude="wwwroot\**\*.cshtml" CopyToPublishDirectory="PreserveNewest" />
<Content Include="**\*.config" Exclude="wwwroot\**\*.config" CopyToPublishDirectory="PreserveNewest" />
<Content Include="**\*.json" Exclude="wwwroot\**\*.json" CopyToPublishDirectory="PreserveNewest" />
</ItemGroup>$if$ ($context$ == WebCoreFullFramework)
</PropertyGroup>$endif$$if$ ($context$ == WebCoreFullFramework)

<ItemGroup>
<Reference Include="System.ComponentModel.DataAnnotations" />
Expand Down
11 changes: 0 additions & 11 deletions src/BaseTemplates/WebAPI/WebAPI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,7 @@
<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" />
<EmbeddedResource Include="**\*.resx" />
<Content Include="wwwroot\**" CopyToPublishDirectory="PreserveNewest" />
<Content Include="**\*.cshtml" Exclude="wwwroot\**\*.cshtml" CopyToPublishDirectory="PreserveNewest" />
<Content Include="**\*.config" Exclude="wwwroot\**\*.config" CopyToPublishDirectory="PreserveNewest" />
<Content Include="**\*.json" Exclude="wwwroot\**\*.json" CopyToPublishDirectory="PreserveNewest" />
<Folder Include="wwwroot\" />
</ItemGroup>$if$ ($context$ == WebCoreFullFramework)

Expand Down

0 comments on commit 500a599

Please sign in to comment.