mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-11-29 18:49:08 +08:00
!2045 feat(#I4HCGX): add framework target net6.0
* chore: 项目指定 net6 * Merge branch 'main' into dev-net6 * chore: 更新框架到 6.0 * chore: update framework to net5/net6
This commit is contained in:
parent
9dac2bcb0f
commit
8e8e2d67b6
@ -1,6 +1,6 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFrameworks>net5.0;net6.0</TargetFrameworks>
|
||||
<Copyright>Argo Zhang</Copyright>
|
||||
<Authors>Argo Zhang(argo@163.com)</Authors>
|
||||
<Company>Longbow</Company>
|
||||
|
@ -1,6 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<IsWebProject>true</IsWebProject>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -1,10 +1,5 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<IsPackable>true</IsPackable>
|
||||
<Version>5.0.0</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<SupportedPlatform Include="browser" />
|
||||
</ItemGroup>
|
||||
@ -27,7 +22,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
|
||||
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="6.0.0-rc.*" />
|
||||
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="6.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -15,13 +15,13 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="6.0.0-rc.*" />
|
||||
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="6.0.0-rc.*" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.0-rc.*" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0-rc.*" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0-rc.*" />
|
||||
<PackageReference Include="Microsoft.Extensions.Localization" Version="6.0.0-rc.*" />
|
||||
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0-rc.*" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="6.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="6.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Localization" Version="6.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user