Skip to content

Commit fddeba9

Browse files
authored
Merge pull request #282 from mkArtakMSFT/master
Migrated to net5.0 TFM
2 parents 49aa724 + dc1482a commit fddeba9

File tree

7 files changed

+21
-17
lines changed

7 files changed

+21
-17
lines changed

Directory.Build.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project>
22
<PropertyGroup>
3-
<AspNetCoreVersion>3.1.4</AspNetCoreVersion>
4-
<BlazorVersion>3.2.0</BlazorVersion>
5-
<EntityFrameworkVersion>3.1.4</EntityFrameworkVersion>
6-
<SystemNetHttpJsonVersion>3.2.0</SystemNetHttpJsonVersion>
3+
<AspNetCoreVersion>5.0.0-preview.7.20326.3</AspNetCoreVersion>
4+
<BlazorVersion>5.0.0-preview.7.20326.3</BlazorVersion>
5+
<EntityFrameworkVersion>5.0.0-preview.7.20326.1</EntityFrameworkVersion>
6+
<SystemNetHttpJsonVersion>5.0.0-preview.7.20326.1</SystemNetHttpJsonVersion>
77
</PropertyGroup>
88
</Project>

src/BlazingComponents/BlazingComponents.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
5-
<RazorLangVersion>3.0</RazorLangVersion>
4+
<TargetFramework>net5.0</TargetFramework>
65
</PropertyGroup>
76

87
<ItemGroup>

src/BlazingPizza.Client/BlazingPizza.Client.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
5-
<LangVersion>7.3</LangVersion>
6-
<RazorLangVersion>3.0</RazorLangVersion>
4+
<TargetFramework>net5.0</TargetFramework>
5+
<RuntimeIdentifier>browser-wasm</RuntimeIdentifier>
6+
<UseBlazorWebAssembly>true</UseBlazorWebAssembly>
77
</PropertyGroup>
88

99
<ItemGroup>
1010
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="$(BlazorVersion)" />
1111
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="$(BlazorVersion)" />
12-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="$(BlazorVersion)" PrivateAssets="all" />
13-
<PackageReference Include="Microsoft.Extensions.Http" Version="$(AspNetCoreVersion)" />
12+
<PackageReference Include="Microsoft.Extensions.Http" Version="$(SystemNetHttpJsonVersion)" />
1413
<PackageReference Include="System.Net.Http.Json" Version="$(SystemNetHttpJsonVersion)" />
1514
</ItemGroup>
1615

src/BlazingPizza.ComponentsLibrary/BlazingPizza.ComponentsLibrary.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
5-
<RazorLangVersion>3.0</RazorLangVersion>
4+
<TargetFramework>net5.0</TargetFramework>
65
</PropertyGroup>
76

87
<ItemGroup>

src/BlazingPizza.Server/BlazingPizza.Server.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
5-
<LangVersion>7.3</LangVersion>
4+
<TargetFramework>net5.0</TargetFramework>
65
</PropertyGroup>
76

87
<ItemGroup>

src/BlazingPizza.Shared/BlazingPizza.Shared.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
5-
<LangVersion>7.3</LangVersion>
4+
<TargetFramework>net5.0</TargetFramework>
65
<RootNamespace>BlazingPizza</RootNamespace>
76
</PropertyGroup>
87

src/nuget.config

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
5+
<clear />
6+
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
7+
<add key="dotnet5" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" />
8+
</packageSources>
9+
</configuration>

0 commit comments

Comments
 (0)