diff --git a/src/System.Drawing.Common/Directory.Build.props b/src/System.Drawing.Common/Directory.Build.props index 9ef62c61e92..e7e8cb9ac08 100644 --- a/src/System.Drawing.Common/Directory.Build.props +++ b/src/System.Drawing.Common/Directory.Build.props @@ -3,16 +3,5 @@ Open windows - Provides access to GDI+ graphics functionality. - -Commonly Used Types: -System.Drawing.Bitmap -System.Drawing.BitmapData -System.Drawing.Brush -System.Drawing.Font -System.Drawing.Graphics -System.Drawing.Icon - -Unix support is disabled by default. See https://aka.ms/systemdrawingnonwindows for more information. \ No newline at end of file diff --git a/src/System.Drawing.Common/pkg/System.Drawing.Common.pkgproj b/src/System.Drawing.Common/pkg/System.Drawing.Common.pkgproj deleted file mode 100644 index 16e0cc61ee4..00000000000 --- a/src/System.Drawing.Common/pkg/System.Drawing.Common.pkgproj +++ /dev/null @@ -1,12 +0,0 @@ - - - - - net461;uap10.0.16299;netcoreapp2.0;$(AllXamarinFrameworks) - - - - - - - diff --git a/src/System.Drawing.Common/src/CompatibilitySuppressions.xml b/src/System.Drawing.Common/src/CompatibilitySuppressions.xml new file mode 100644 index 00000000000..a7e39a27882 --- /dev/null +++ b/src/System.Drawing.Common/src/CompatibilitySuppressions.xml @@ -0,0 +1,20 @@ + + + + CP0001 + lib/netstandard2.0/System.Drawing.Common.dll + lib/net461/System.Drawing.Common.dll + + + CP0001 + T:System.Drawing.ColorTranslator + lib/netstandard2.0/System.Drawing.Common.dll + lib/netcoreapp3.1/System.Drawing.Common.dll + + + CP0001 + T:System.Drawing.SystemColors + lib/netstandard2.0/System.Drawing.Common.dll + lib/netcoreapp3.1/System.Drawing.Common.dll + + \ No newline at end of file diff --git a/src/System.Drawing.Common/src/System.Drawing.Common.csproj b/src/System.Drawing.Common/src/System.Drawing.Common.csproj index f571be1d8a5..6be3b9f6d5b 100644 --- a/src/System.Drawing.Common/src/System.Drawing.Common.csproj +++ b/src/System.Drawing.Common/src/System.Drawing.Common.csproj @@ -7,6 +7,19 @@ true $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent);netcoreapp3.1-windows;netcoreapp3.1-Unix;netcoreapp3.1;netstandard2.0;net461 enable + true + true + Provides access to GDI+ graphics functionality. + +Commonly Used Types: +System.Drawing.Bitmap +System.Drawing.BitmapData +System.Drawing.Brush +System.Drawing.Font +System.Drawing.Graphics +System.Drawing.Icon + +Unix support is disabled by default. See https://aka.ms/systemdrawingnonwindows for more information. @@ -404,4 +417,7 @@ + + +