Skip to content

Commit 396609a

Browse files
authored
feat: update preview page to .NET 5 (#32)
1 parent abded09 commit 396609a

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

.github/workflows/azure-static-web-apps-brave-coast-0edcf6600.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,12 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v2
1919
with:
20-
submodules: true
21-
20+
persist-credentials: false
21+
22+
- uses: actions/setup-dotnet@v1
23+
with:
24+
dotnet-version: 5.0.100
25+
2226
- uses: actions/setup-node@v1
2327
with:
2428
node-version: '10.x'

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup .NET Core
2424
uses: actions/setup-dotnet@v1
2525
with:
26-
dotnet-version: 3.1.300
26+
dotnet-version: 5.0.100
2727

2828
- uses: actions/setup-node@v1
2929
with:

.github/workflows/pr-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup .NET Core
1616
uses: actions/setup-dotnet@v1
1717
with:
18-
dotnet-version: 3.1.300
18+
dotnet-version: 5.0.100
1919

2020
- uses: actions/setup-node@v1
2121
with:

src/AntDesign.Pro/AntDesign.Pro.csproj

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
4+
<TargetFramework>net5</TargetFramework>
55
<RazorLangVersion>3.0</RazorLangVersion>
66
<AssemblyName>AntDesign.Pro.Template</AssemblyName>
77
<RootNamespace>AntDesign.Pro.Template</RootNamespace>
@@ -11,11 +11,10 @@
1111
<PackageReference Include="AntDesign" Version="0.5.0-*" />
1212
<PackageReference Include="AntDesign.Charts" Version="0.2.0-*" />
1313
<PackageReference Include="AntDesign.Pro.Layout" Version="0.1.0-*" />
14-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.0" />
15-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.0" PrivateAssets="all" />
16-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="3.2.0" PrivateAssets="all" />
17-
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="3.1.6" />
18-
<PackageReference Include="System.Net.Http.Json" Version="3.2.0" />
14+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.0" />
15+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="5.0.0" PrivateAssets="all" />
16+
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="5.0.0" />
17+
<PackageReference Include="System.Net.Http.Json" Version="5.0.0" />
1918
</ItemGroup>
2019

2120
<PropertyGroup Condition=" '$(SolutionDir)'==''">

0 commit comments

Comments
 (0)