Add Microsoft.NETCore.Unsupported.Platform.API package

This package contains the Windows runtime assemblies of packages that
are not actually supported on Linux. The assemblies exist in the Linux
runtime folder. While the code cannot be executed, this allows
PowerShell to use the Windows specific types in its function calls
without crashing (and allows compiling with these types in the first
place). This is *not* an ideal work-around, but we are waiting on a
better package from .NET that contains Linux runtime assemblies that
throw `PlatformNotSupported` exceptions on use.
This commit is contained in:
Andrew Schwartzmeyer
2016-03-07 14:17:31 -08:00
parent 93f8a3360f
commit faec94ffcf
3 changed files with 3 additions and 1 deletions
@@ -10,6 +10,7 @@
},
"dependencies": {
"Microsoft.NETCore.Unsupported.Platform.API": "1.0.0-rc3-00001",
"Newtonsoft.Json": "8.0.2",
"System.Xml.XDocument": "4.0.11-rc3-23907",
"Microsoft.PowerShell.Commands.Management": "1.0.0-*",
+1
View File
@@ -3,6 +3,7 @@
"authors": [ "andschwa" ],
"dependencies": {
"Microsoft.NETCore.Unsupported.Platform.API": "1.0.0-rc3-00001",
"NETStandard.Library": "1.0.0-rc3-23907",
"System.Runtime.Loader": "4.0.0-rc3-23907",
"System.Security.SecureString": "1.0.0-*",