Version the SPA template package (#11773)

* Version the SPA template package

* Fix templates
This commit is contained in:
Ryan Brandenburg 2019-07-12 11:46:06 -07:00 committed by Artak
parent 4fd1d01467
commit 797f7b1670
3 changed files with 4 additions and 3 deletions

View File

@ -152,7 +152,7 @@
<PackageArtifact Include="Microsoft.DotNet.Web.Client.ItemTemplates" Category="ship" />
<PackageArtifact Include="Microsoft.DotNet.Web.ItemTemplates" Category="ship" />
<PackageArtifact Include="Microsoft.DotNet.Web.ProjectTemplates.2.2" Category="ship" />
<PackageArtifact Include="Microsoft.DotNet.Web.Spa.ProjectTemplates" Category="ship" />
<PackageArtifact Include="Microsoft.DotNet.Web.Spa.ProjectTemplates.2.2" Category="ship" />
<PackageArtifact Include="Microsoft.EntityFrameworkCore.Abstractions" Category="ship" />
<PackageArtifact Include="Microsoft.EntityFrameworkCore.Analyzers" Category="ship" />
<PackageArtifact Include="Microsoft.EntityFrameworkCore.Cosmos" Category="noship" />

View File

@ -24,11 +24,11 @@
"Template"
]
},
"Microsoft.DotNet.Web.Spa.ProjectTemplates": {
"Microsoft.DotNet.Web.Spa.ProjectTemplates.2.2": {
"packageTypes": [
"Template"
]
}
}
}
}
}

View File

@ -4,6 +4,7 @@
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<PackageId>Microsoft.DotNet.Web.Spa.ProjectTemplates.$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion)</PackageId>
<Description>Single Page Application templates for ASP.NET Core
To install the templates in this package, run 'dotnet new --install $(PackageId)::$(PackageVersion)'.</Description>