Skip to content

Commit 66a03cc

Browse files
LeafShi1mmitchelonitra
authored
Enable Stable Branding .NET 9 GA (#12325)
* Enable Stable Branding .NET 9 GA * Update Directory.Build.props to disable error NU5104 * Removing extra condition for <WarningsNotAsErrors> * Update System.Drawing.Common.csproj * NoWarn NU5104 * NoWarn NU5104 in Microsoft.Private.Winforms * NoWarn just in System.Drawing.Common --------- Co-authored-by: Matt Mitchell <[email protected]> Co-authored-by: Loni Tra <[email protected]>
1 parent 9895f65 commit 66a03cc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<PreReleaseVersionIteration>
1010
</PreReleaseVersionIteration>
1111
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
12-
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
12+
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">true</StabilizePackageVersion>
1313
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>
1414
</PropertyGroup>
1515
<!-- Below have corresponding entries in Versions.Details.XML because they are updated via Maestro -->

src/System.Drawing.Common/src/System.Drawing.Common.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
<!-- Unset TargetFramework as this property gets set in Directory.Build.props. This is necessary to avoid over-building. -->
66
<TargetFramework />
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
8-
<WarningsNotAsErrors>CS0618</WarningsNotAsErrors>
8+
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS0618</WarningsNotAsErrors>
9+
<NoWarn>$(NoWarn);NU5104</NoWarn>
910
<EnableAOTAnalyzer>false</EnableAOTAnalyzer>
1011
<Nullable>enable</Nullable>
1112
<ImplicitUsings>disable</ImplicitUsings>

0 commit comments

Comments
 (0)