Skip to content

Commit

Permalink
Show templates in VS for ASP.NET 2.0 and 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveSandersonMS committed Apr 11, 2018
1 parent 16111f1 commit 43dfa39
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 43dfa39

Please sign in to comment.