Make all templates as consistent as possible with stock MVC Core 2.0 one

This commit is contained in:
Steve Sanderson
2017-05-19 11:36:17 +01:00
parent 3ee16a5ba5
commit 42b88c15f2
64 changed files with 521 additions and 375 deletions

View File

@@ -1,20 +1,20 @@
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
<IsPackable>false</IsPackable>
<PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8+wp8+wpa81;</PackageTargetFallback>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore" Version="2.0.0-*" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.0-*" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-*" />
<PackageReference Include="Microsoft.AspNetCore.SpaServices" Version="1.1.1" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.0-*" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="2.0.0-*" />
</ItemGroup>
<ItemGroup>
<!-- Files not to show in IDE -->
<None Remove="yarn.lock" />
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0-*" />
</ItemGroup>
<Target Name="RunWebpack" AfterTargets="ComputeFilesToPublish">
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
<Exec Command="npm install" />
@@ -30,4 +30,5 @@
</ResolvedFileToPublish>
</ItemGroup>
</Target>
</Project>