Skip to content

Commit 5c414c1

Browse files
authored
chore(Props): update project configuration (#4425)
* refactor: 移除 version 工具配置 * chore: 更新 warning 配置 * chore: 更新 Json 依赖配置 * chore: 移除版本工具链配置 * refactor: 移动 CS8002 警告配置 * chore: 移除平台配置 * chore: 更新 Json 高风险配置 * chore: 增加 wasm 平台支持配置 * chore: 更新 Json 版本配置
1 parent de6c9b6 commit 5c414c1

File tree

5 files changed

+9
-36
lines changed

5 files changed

+9
-36
lines changed

src/.config/dotnet-tools.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/BootstrapBlazor/BootstrapBlazor.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
<PackageReference Include="Microsoft.Extensions.Localization" Version="$(NET8Version)" />
3434
</ItemGroup>
3535

36+
<ItemGroup>
37+
<PackageReference Include="System.Text.Json" Version="8.0.5" />
38+
</ItemGroup>
39+
3640
<ItemGroup>
3741
<Content Remove="Locales\*.json" />
3842
<EmbeddedResource Include="Locales\*.json" />
@@ -53,6 +57,10 @@
5357
<None Include="wwwroot\src\**\*.*" />
5458
</ItemGroup>
5559

60+
<ItemGroup>
61+
<SupportedPlatform Include="browser" />
62+
</ItemGroup>
63+
5664
<ItemGroup>
5765
<Using Include="BootstrapBlazor.Components" />
5866
<Using Include="Microsoft.AspNetCore.Components" />

src/BootstrapBlazor/Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<Import Project="..\Logo.props" />
55
<Import Project="..\Bundle.props" />
66
<Import Project="..\SourceLink.targets" />
7-
<Import Project="..\Version.targets" Condition="'$(TargetFramework)' == 'net1.0'" />
87

98
<PropertyGroup>
109
<PackageTags>Bootstrap Blazor WebAssembly wasm UI Components</PackageTags>

src/Directory.Build.props

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@
1414
<DocumentationFile>$(MSBuildProjectName).xml</DocumentationFile>
1515
</PropertyGroup>
1616

17-
<ItemGroup>
18-
<SupportedPlatform Include="browser" />
19-
</ItemGroup>
20-
2117
<PropertyGroup>
22-
<NoWarn>NETSDK1138;CS8002</NoWarn>
18+
<NoWarn>CS8002</NoWarn>
2319
</PropertyGroup>
2420

2521
</Project>

src/Version.targets

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)