File tree 7 files changed +25
-29
lines changed
7 files changed +25
-29
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netcoreapp3.1 </TargetFramework >
4
+ <TargetFramework >net5.0 </TargetFramework >
5
5
6
6
<IsPackable >false</IsPackable >
7
7
11
11
</PropertyGroup >
12
12
13
13
<ItemGroup >
14
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.5 .0" />
15
- <PackageReference Include =" MSTest.TestAdapter" Version =" 2.1.0 " />
16
- <PackageReference Include =" MSTest.TestFramework" Version =" 2.1.0 " />
14
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.8 .0" />
15
+ <PackageReference Include =" MSTest.TestAdapter" Version =" 2.1.2 " />
16
+ <PackageReference Include =" MSTest.TestFramework" Version =" 2.1.2 " />
17
17
</ItemGroup >
18
18
19
19
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Razor" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netstandard2.1</TargetFramework >
5
- <RazorLangVersion >3.0</RazorLangVersion >
4
+ <TargetFramework >net5.0</TargetFramework >
6
5
<IsPackable >true</IsPackable >
7
6
<LangVersion >8.0</LangVersion >
8
7
<PackageId >BlazorTypography</PackageId >
9
- <Version >1.5.0-alpha-03 </Version >
8
+ <Version >1.6.0 </Version >
10
9
<Authors >Chanan Braunstein</Authors >
11
10
<Title >BlazorTypography</Title >
12
11
<Description >A powerful toolkit for building websites with beautiful design</Description >
16
15
</PropertyGroup >
17
16
18
17
<ItemGroup >
19
- <PackageReference Include =" BlazorStyled" Version =" 3.0.0-alpha-05 " />
20
- <PackageReference Include =" Microsoft.AspNetCore.Components" Version =" 3.1.2 " />
21
- <PackageReference Include =" Microsoft.AspNetCore.Components.Web" Version =" 3.1.2 " />
18
+ <PackageReference Include =" BlazorStyled" Version =" 3.1.0 " />
19
+ <PackageReference Include =" Microsoft.AspNetCore.Components" Version =" 5.0.0 " />
20
+ <PackageReference Include =" Microsoft.AspNetCore.Components.Web" Version =" 5.0.0 " />
22
21
</ItemGroup >
23
22
24
23
<ItemGroup >
Original file line number Diff line number Diff line change 1
- <Project Sdk =" Microsoft.NET.Sdk.Web " >
1
+ <Project Sdk =" Microsoft.NET.Sdk.BlazorWebAssembly " >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netstandard2.1</TargetFramework >
5
- <OutputType >Exe</OutputType >
6
- <LangVersion >7.3</LangVersion >
7
- <RazorLangVersion >3.0</RazorLangVersion >
4
+ <TargetFramework >net5.0</TargetFramework >
8
5
</PropertyGroup >
9
6
10
7
<ItemGroup >
11
- <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 3.2.0-preview4.20210.8" />
12
- <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.Build" Version =" 3.2.0-preview4.20210.8" PrivateAssets =" all" />
13
- <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 3.2.0-preview4.20210.8" PrivateAssets =" all" />
14
- <PackageReference Include =" System.Net.Http.Json" Version =" 3.2.0-preview5.20210.3" />
8
+ <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 5.0.0" />
9
+ <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 5.0.0" PrivateAssets =" all" />
15
10
</ItemGroup >
16
11
17
12
<ItemGroup >
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ public static async Task Main(string[] args)
24
24
} ) ;
25
25
//End Configure Services
26
26
27
- builder . Services . AddSingleton ( new HttpClient { BaseAddress = new Uri ( builder . HostEnvironment . BaseAddress ) } ) ;
27
+ builder . Services . AddScoped ( sp => new HttpClient { BaseAddress = new Uri ( builder . HostEnvironment . BaseAddress ) } ) ;
28
28
29
- builder . RootComponents . Add < App > ( "app" ) ;
29
+ builder . RootComponents . Add < App > ( "# app" ) ;
30
30
31
31
await builder . Build ( ) . RunAsync ( ) ;
32
32
}
Original file line number Diff line number Diff line change 33
33
</ style >
34
34
</ head >
35
35
< body >
36
- < app > Loading...</ app >
36
+ < app id =" app " > Loading...</ app >
37
37
38
38
< div id ="blazor-error-ui ">
39
39
An unhandled error has occurred.
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Razor" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netstandard2.1</TargetFramework >
5
- <RazorLangVersion >3.0</RazorLangVersion >
4
+ <TargetFramework >net5.0</TargetFramework >
6
5
</PropertyGroup >
7
6
8
7
<ItemGroup >
9
- <PackageReference Include =" BlazorPrettyCode" Version =" 1.5.0-alpha-03 " />
10
- <PackageReference Include =" Microsoft.AspNetCore.Components" Version =" 3.1.2 " />
11
- <PackageReference Include =" Microsoft.AspNetCore.Components.Web" Version =" 3.1.2 " />
8
+ <PackageReference Include =" BlazorPrettyCode" Version =" 1.5.0" />
9
+ <PackageReference Include =" Microsoft.AspNetCore.Components" Version =" 5.0.0 " />
10
+ <PackageReference Include =" Microsoft.AspNetCore.Components.Web" Version =" 5.0.0 " />
12
11
</ItemGroup >
13
12
14
13
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netcoreapp3.1</TargetFramework >
5
- <LangVersion >7.3</LangVersion >
4
+ <TargetFramework >net5.0</TargetFramework >
6
5
</PropertyGroup >
7
6
7
+ <ItemGroup >
8
+ <PackageReference Include =" BlazorPrettyCode" Version =" 1.6.0" />
9
+ </ItemGroup >
10
+
8
11
<ItemGroup >
9
12
<ProjectReference Include =" ..\SamplePages\SamplePages.csproj" />
10
13
</ItemGroup >
You can’t perform that action at this time.
0 commit comments