diff --git a/pkg/Microsoft.Private.PackageBaseline/packageIndex.json b/pkg/Microsoft.Private.PackageBaseline/packageIndex.json index a84192f2fa99..f084bc2a64f6 100644 --- a/pkg/Microsoft.Private.PackageBaseline/packageIndex.json +++ b/pkg/Microsoft.Private.PackageBaseline/packageIndex.json @@ -1591,7 +1591,14 @@ } }, "System.Drawing.Common": { - "InboxOn": {}, + "InboxOn": { + "monoandroid10": "Any", + "monotouch10": "Any", + "xamarinios10": "Any", + "xamarinmac20": "Any", + "xamarintvos10": "Any", + "xamarinwatchos10": "Any" + }, "AssemblyVersionInPackageVersion": { "4.0.0.0": "4.5.0" } diff --git a/src/System.Drawing.Common/System.Drawing.Common.sln b/src/System.Drawing.Common/System.Drawing.Common.sln index bdc9c7a7074a..b9c66c3d7505 100644 --- a/src/System.Drawing.Common/System.Drawing.Common.sln +++ b/src/System.Drawing.Common/System.Drawing.Common.sln @@ -1,6 +1,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26911.0 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Drawing.Common.Tests", "tests\System.Drawing.Common.Tests.csproj", "{4B93E684-0630-45F4-8F63-6C7788C9892F}" ProjectSection(ProjectDependencies) = postProject @@ -30,14 +30,14 @@ Global {4B93E684-0630-45F4-8F63-6C7788C9892F}.Debug|Any CPU.Build.0 = netcoreapp-Debug|Any CPU {4B93E684-0630-45F4-8F63-6C7788C9892F}.Release|Any CPU.ActiveCfg = netcoreapp-Release|Any CPU {4B93E684-0630-45F4-8F63-6C7788C9892F}.Release|Any CPU.Build.0 = netcoreapp-Release|Any CPU - {191B3618-FECD-4ABD-9D6B-5AC90DC33621}.Debug|Any CPU.ActiveCfg = netcoreapp2.0-Windows_NT-Debug|Any CPU - {191B3618-FECD-4ABD-9D6B-5AC90DC33621}.Debug|Any CPU.Build.0 = netcoreapp2.0-Windows_NT-Debug|Any CPU - {191B3618-FECD-4ABD-9D6B-5AC90DC33621}.Release|Any CPU.ActiveCfg = netcoreapp2.0-Unix-Release|Any CPU - {191B3618-FECD-4ABD-9D6B-5AC90DC33621}.Release|Any CPU.Build.0 = netcoreapp2.0-Unix-Release|Any CPU - {D7AEA698-275D-441F-B7A7-8491D1F0EFF0}.Debug|Any CPU.ActiveCfg = netcoreapp2.0-Debug|Any CPU - {D7AEA698-275D-441F-B7A7-8491D1F0EFF0}.Debug|Any CPU.Build.0 = netcoreapp2.0-Debug|Any CPU - {D7AEA698-275D-441F-B7A7-8491D1F0EFF0}.Release|Any CPU.ActiveCfg = netcoreapp2.0-Release|Any CPU - {D7AEA698-275D-441F-B7A7-8491D1F0EFF0}.Release|Any CPU.Build.0 = netcoreapp2.0-Release|Any CPU + {191B3618-FECD-4ABD-9D6B-5AC90DC33621}.Debug|Any CPU.ActiveCfg = netstandard-Debug|Any CPU + {191B3618-FECD-4ABD-9D6B-5AC90DC33621}.Debug|Any CPU.Build.0 = netstandard-Debug|Any CPU + {191B3618-FECD-4ABD-9D6B-5AC90DC33621}.Release|Any CPU.ActiveCfg = netstandard-Release|Any CPU + {191B3618-FECD-4ABD-9D6B-5AC90DC33621}.Release|Any CPU.Build.0 = netstandard-Release|Any CPU + {D7AEA698-275D-441F-B7A7-8491D1F0EFF0}.Debug|Any CPU.ActiveCfg = netstandard-Debug|Any CPU + {D7AEA698-275D-441F-B7A7-8491D1F0EFF0}.Debug|Any CPU.Build.0 = netstandard-Debug|Any CPU + {D7AEA698-275D-441F-B7A7-8491D1F0EFF0}.Release|Any CPU.ActiveCfg = netstandard-Release|Any CPU + {D7AEA698-275D-441F-B7A7-8491D1F0EFF0}.Release|Any CPU.Build.0 = netstandard-Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -47,7 +47,4 @@ Global {191B3618-FECD-4ABD-9D6B-5AC90DC33621} = {E107E9C1-E893-4E87-987E-04EF0DCEAEFD} {D7AEA698-275D-441F-B7A7-8491D1F0EFF0} = {2E666815-2EDB-464B-9DF6-380BF4789AD4} EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {ACBCC0AB-54DC-4B76-9556-2569EF381DFB} - EndGlobalSection EndGlobal diff --git a/src/System.Drawing.Common/pkg/System.Drawing.Common.pkgproj b/src/System.Drawing.Common/pkg/System.Drawing.Common.pkgproj index 97ada23e308e..1fe84ed429c8 100644 --- a/src/System.Drawing.Common/pkg/System.Drawing.Common.pkgproj +++ b/src/System.Drawing.Common/pkg/System.Drawing.Common.pkgproj @@ -3,9 +3,11 @@ - netcoreapp2.0 + net461;netcoreapp2.0;$(AllXamarinFrameworks) + + \ No newline at end of file diff --git a/src/System.Drawing.Common/ref/Configurations.props b/src/System.Drawing.Common/ref/Configurations.props index 01894f79b923..d9777d8275bc 100644 --- a/src/System.Drawing.Common/ref/Configurations.props +++ b/src/System.Drawing.Common/ref/Configurations.props @@ -2,7 +2,8 @@ - netcoreapp2.0; + netstandard; + netfx; \ No newline at end of file diff --git a/src/System.Drawing.Common/ref/System.Drawing.Common.csproj b/src/System.Drawing.Common/ref/System.Drawing.Common.csproj index d8daf77d7975..a87389d3d093 100644 --- a/src/System.Drawing.Common/ref/System.Drawing.Common.csproj +++ b/src/System.Drawing.Common/ref/System.Drawing.Common.csproj @@ -3,13 +3,16 @@ {D7AEA698-275D-441F-B7A7-8491D1F0EFF0} + true - - + + + + - + @@ -19,5 +22,10 @@ + + + + + - + \ No newline at end of file diff --git a/src/System.Drawing.Common/src/Configurations.props b/src/System.Drawing.Common/src/Configurations.props index 85b3fdbbf8b6..a203bc36a3ea 100644 --- a/src/System.Drawing.Common/src/Configurations.props +++ b/src/System.Drawing.Common/src/Configurations.props @@ -4,6 +4,8 @@ netcoreapp2.0-Windows_NT; netcoreapp2.0-Unix; + netfx; + netstandard; diff --git a/src/System.Drawing.Common/src/Resources/Strings.resx b/src/System.Drawing.Common/src/Resources/Strings.resx index 61918c3fe8f7..68ae3e09c0ca 100644 --- a/src/System.Drawing.Common/src/Resources/Strings.resx +++ b/src/System.Drawing.Common/src/Resources/Strings.resx @@ -348,6 +348,9 @@ Occurs before each page is printed. Useful for changing PageSettings for a particular page. + + System.Drawing is not supported on this platform. + Defines an object that sends output to a printer. diff --git a/src/System.Drawing.Common/src/System.Drawing.Common.csproj b/src/System.Drawing.Common/src/System.Drawing.Common.csproj index e96c9dddc0bf..7a5022c0786b 100644 --- a/src/System.Drawing.Common/src/System.Drawing.Common.csproj +++ b/src/System.Drawing.Common/src/System.Drawing.Common.csproj @@ -11,35 +11,18 @@ CS0618 $(DefineConstants);FEATURE_WINDOWS_SYSTEM_COLORS $(DefineConstants);CORECLR;NETCORE + true + SR.PlatformNotSupported_Drawing - - - - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -201,8 +184,15 @@ Common\System\Runtime\InteropServices\FunctionWrapper.cs + + System.Drawing.DefaultComponent.bmp + + + + System.Drawing.ShieldIcon.ico + - + @@ -291,7 +281,7 @@ Common\System\Runtime\InteropServices\FunctionWrapper.Windows.cs - + @@ -347,18 +337,37 @@ Common\System\Runtime\InteropServices\FunctionWrapper.Unix.cs - - - - System.Drawing.DefaultComponent.bmp - - - - System.Drawing.ShieldIcon.ico - - + placeholder.ico + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + \ No newline at end of file diff --git a/src/System.Drawing.Common/tests/System.Drawing.Common.Tests.csproj b/src/System.Drawing.Common/tests/System.Drawing.Common.Tests.csproj index 6a24e7f28d99..cc2bf1d3a56f 100644 --- a/src/System.Drawing.Common/tests/System.Drawing.Common.Tests.csproj +++ b/src/System.Drawing.Common/tests/System.Drawing.Common.Tests.csproj @@ -5,6 +5,10 @@ {4B93E684-0630-45F4-8F63-6C7788C9892F} true + + + + @@ -109,4 +113,4 @@ - + \ No newline at end of file