Blame SOURCES/templates-publish-without-manifest.patch

3c81b8
Templates should publish without the ASP.NET Core manifest by default
3c81b8
3c81b8
Patch the default ASP.NET Core templates (used by dotnet new) to publish
3c81b8
without expecting the runtime package store on the target. The package store is
3c81b8
not part of these public built-from-source builds.
3c81b8
3c81b8
If published applications use the manifest - and expect the runtime store to be
3c81b8
available - they will publish correctly but fail to run at runtime.
3c81b8
64c9a7
--- a/content/EmptyWeb-CSharp/Company.WebApplication1.csproj	2017-06-09 15:35:23.000000000 -0400
64c9a7
+++ b/content/EmptyWeb-CSharp/Company.WebApplication1.csproj	2017-07-19 15:59:25.900632277 -0400
3c81b8
@@ -3,6 +3,7 @@
3c81b8
   <PropertyGroup>
3c81b8
     <TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp2.0</TargetFramework>
3c81b8
     <TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
3c81b8
+    <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
3c81b8
   </PropertyGroup>
3c81b8
 
3c81b8
   <ItemGroup>
64c9a7
--- a/content/RazorPagesWeb-CSharp/Company.WebApplication1.csproj	2017-06-09 15:35:23.000000000 -0400
64c9a7
+++ b/content/RazorPagesWeb-CSharp/Company.WebApplication1.csproj	2017-07-19 16:07:23.248684922 -0400
3c81b8
@@ -5,6 +5,7 @@
3c81b8
     <UserSecretsId Condition="'$(IndividualAuth)' == 'True' OR '$(OrganizationalAuth)' == 'True'">aspnet-Company.WebApplication1-0ce56475-d1db-490f-8af1-a881ea4fcd2d</UserSecretsId>
3c81b8
     <WebProject_DirectoryAccessLevelKey Condition="'$(OrganizationalAuth)' == 'True' AND '$(OrgReadAccess)' != 'True'">0</WebProject_DirectoryAccessLevelKey>
3c81b8
     <WebProject_DirectoryAccessLevelKey Condition="'$(OrganizationalAuth)' == 'True' AND '$(OrgReadAccess)' == 'True'">1</WebProject_DirectoryAccessLevelKey>
3c81b8
+    <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
3c81b8
   </PropertyGroup>
3c81b8
   <ItemGroup Condition=" '$(IndividualLocalAuth)' == 'True' AND '$(UseLocalDB)' != 'True' ">
3c81b8
     <None Update="app.db" CopyToOutputDirectory="PreserveNewest" />
64c9a7
--- a/content/StarterWeb-CSharp/Company.WebApplication1.csproj	2017-06-09 15:35:23.000000000 -0400
64c9a7
+++ b/content/StarterWeb-CSharp/Company.WebApplication1.csproj	2017-07-19 16:00:58.613168965 -0400
3c81b8
@@ -8,6 +8,7 @@
3c81b8
     <UserSecretsId Condition="'$(IndividualAuth)' == 'True' OR '$(OrganizationalAuth)' == 'True'">aspnet-Company.WebApplication1-53bc9b9d-9d6a-45d4-8429-2a2761773502</UserSecretsId>
3c81b8
     <WebProject_DirectoryAccessLevelKey Condition="'$(OrganizationalAuth)' == 'True' AND '$(OrgReadAccess)' != 'True'">0</WebProject_DirectoryAccessLevelKey>
3c81b8
     <WebProject_DirectoryAccessLevelKey Condition="'$(OrganizationalAuth)' == 'True' AND '$(OrgReadAccess)' == 'True'">1</WebProject_DirectoryAccessLevelKey>
3c81b8
+    <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
3c81b8
   </PropertyGroup>
3c81b8
 
3c81b8
 
64c9a7
--- a/content/StarterWeb-FSharp/Company.WebApplication1.fsproj	2017-06-09 15:35:23.000000000 -0400
64c9a7
+++ b/content/StarterWeb-FSharp/Company.WebApplication1.fsproj	2017-07-19 16:01:12.964097252 -0400
3c81b8
@@ -4,6 +4,7 @@
3c81b8
     <TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp2.0</TargetFramework>
3c81b8
     <TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
3c81b8
     <MvcRazorCompileOnPublish>true</MvcRazorCompileOnPublish>
3c81b8
+    <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
3c81b8
   </PropertyGroup>
3c81b8
 
3c81b8
   <ItemGroup>
64c9a7
--- a/content/WebApi-CSharp/Company.WebApplication1.csproj	2017-06-09 15:35:23.000000000 -0400
64c9a7
+++ b/content/WebApi-CSharp/Company.WebApplication1.csproj	2017-07-19 16:04:59.211162884 -0400
3c81b8
@@ -6,6 +6,7 @@
3c81b8
     <UserSecretsId Condition="'$(IndividualAuth)' == 'True' OR '$(OrganizationalAuth)' == 'True'">aspnet-Company.WebApplication1-53bc9b9d-9d6a-45d4-8429-2a2761773502</UserSecretsId>
3c81b8
     <WebProject_DirectoryAccessLevelKey Condition="'$(OrganizationalAuth)' == 'True' AND '$(OrgReadAccess)' != 'True'">0</WebProject_DirectoryAccessLevelKey>
3c81b8
     <WebProject_DirectoryAccessLevelKey Condition="'$(OrganizationalAuth)' == 'True' AND '$(OrgReadAccess)' == 'True'">1</WebProject_DirectoryAccessLevelKey>
3c81b8
+    <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
3c81b8
   </PropertyGroup>
3c81b8
 
3c81b8
   <ItemGroup>