Skip to content

Commit

Permalink
Merge pull request dotnet/runtime#78354 from carlossanlop/Net8Changes…
Browse files Browse the repository at this point in the history
…SecondAttempt

Update assembly version from hardcoded to MajorVersion and update NetCoreAppCurrent to net8.0

Commit migrated from dotnet/runtime@315f4ab
  • Loading branch information
ViktorHofer authored Dec 5, 2022
2 parents 64dfe0b + 0329d43 commit c582503
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 51 deletions.
2 changes: 1 addition & 1 deletion src/System.Drawing.Common/ref/System.Drawing.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
<TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppPrevious);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
<IncludeInternalObsoleteAttribute>true</IncludeInternalObsoleteAttribute>
</PropertyGroup>

Expand Down
49 changes: 0 additions & 49 deletions src/System.Drawing.Common/src/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,55 +30,6 @@
<Left>lib/netstandard2.0/System.Drawing.Common.dll</Left>
<Right>lib/net462/System.Drawing.Common.dll</Right>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:System.Drawing.Drawing2D.Matrix.#ctor(System.Numerics.Matrix3x2)</Target>
<Left>lib/netcoreapp3.1/System.Drawing.Common.dll</Left>
<Right>lib/netstandard2.0/System.Drawing.Common.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:System.Drawing.Drawing2D.Matrix.get_MatrixElements</Target>
<Left>lib/netcoreapp3.1/System.Drawing.Common.dll</Left>
<Right>lib/netstandard2.0/System.Drawing.Common.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:System.Drawing.Drawing2D.Matrix.set_MatrixElements(System.Numerics.Matrix3x2)</Target>
<Left>lib/netcoreapp3.1/System.Drawing.Common.dll</Left>
<Right>lib/netstandard2.0/System.Drawing.Common.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:System.Drawing.Graphics.get_TransformElements</Target>
<Left>lib/netcoreapp3.1/System.Drawing.Common.dll</Left>
<Right>lib/netstandard2.0/System.Drawing.Common.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:System.Drawing.Graphics.GetContextInfo(System.Drawing.PointF@,System.Drawing.Region@)</Target>
<Left>lib/netcoreapp3.1/System.Drawing.Common.dll</Left>
<Right>lib/netstandard2.0/System.Drawing.Common.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:System.Drawing.Graphics.GetContextInfo(System.Drawing.PointF@)</Target>
<Left>lib/netcoreapp3.1/System.Drawing.Common.dll</Left>
<Right>lib/netstandard2.0/System.Drawing.Common.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:System.Drawing.Graphics.set_TransformElements(System.Numerics.Matrix3x2)</Target>
<Left>lib/netcoreapp3.1/System.Drawing.Common.dll</Left>
<Right>lib/netstandard2.0/System.Drawing.Common.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>F:System.Drawing.Imaging.Encoder.ColorSpace</Target>
Expand Down
2 changes: 1 addition & 1 deletion src/System.Drawing.Common/src/System.Drawing.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppPrevious)-windows;$(NetCoreAppPrevious);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
<DefineConstants>$(DefineConstants);DRAWING_NAMESPACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<WarningsNotAsErrors>CS0618</WarningsNotAsErrors>
Expand Down

0 comments on commit c582503

Please sign in to comment.