Show templates in VS for ASP.NET 2.0 and 2.1

This commit is contained in:
Steve Sanderson 2018-04-11 15:33:17 +01:00
parent 8485e2ea10
commit 39238d1884
4 changed files with 24 additions and 8 deletions

View File

@ -73,10 +73,14 @@
{
"choice": "netcoreapp2.0",
"description": "Target netcoreapp2.0"
},
{
"choice": "netcoreapp2.1",
"description": "Target netcoreapp2.1"
}
],
"replaces": "netcoreapp2.0",
"defaultValue": "netcoreapp2.0"
"replaces": "netcoreapp2.1",
"defaultValue": "netcoreapp2.1"
},
"HostIdentifier": {
"type": "bind",

View File

@ -1,13 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<!-- This custom package feed is required only when using nightly builds of Blazor -->
<RestoreSources>$(RestoreSources);https://dotnet.myget.org/f/blazor-dev/api/v3/index.json</RestoreSources>
</PropertyGroup>
<ItemGroup>
<ItemGroup Condition="'$(Framework)' == 'netcoreapp2.1'">
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.0-preview1-final" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Server" Version="0.2.0-preview1-10189" />
</ItemGroup>
<ItemGroup Condition="'$(Framework)' == 'netcoreapp2.0'">
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Server" Version="0.2.0-preview1-10189" />
</ItemGroup>

View File

@ -34,10 +34,14 @@
{
"choice": "netcoreapp2.0",
"description": "Target netcoreapp2.0"
},
{
"choice": "netcoreapp2.1",
"description": "Target netcoreapp2.1"
}
],
"replaces": "netcoreapp2.0",
"defaultValue": "netcoreapp2.0"
"replaces": "netcoreapp2.1",
"defaultValue": "netcoreapp2.1"
},
"HostIdentifier": {
"type": "bind",

View File

@ -34,10 +34,14 @@
{
"choice": "netcoreapp2.0",
"description": "Target netcoreapp2.0"
},
{
"choice": "netcoreapp2.1",
"description": "Target netcoreapp2.1"
}
],
"replaces": "netcoreapp2.0",
"defaultValue": "netcoreapp2.0"
"replaces": "netcoreapp2.1",
"defaultValue": "netcoreapp2.1"
},
"HostIdentifier": {
"type": "bind",