Skip to content

Commit 2493ccd

Browse files
committed
chore: 更新配置开发模式使用单框架
1 parent 9703e08 commit 2493ccd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/BootstrapBlazor/Directory.Build.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
<IsPackable>true</IsPackable>
1717
</PropertyGroup>
1818

19-
<PropertyGroup>
19+
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
20+
<TargetFramework>net9.0</TargetFramework>
21+
</PropertyGroup>
22+
23+
<PropertyGroup Condition="'$(Configuration)' != 'Debug'">
2024
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
2125
</PropertyGroup>
2226

0 commit comments

Comments
 (0)