mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
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:
@@ -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-*",
|
||||
|
||||
@@ -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-*",
|
||||
|
||||
+1
-1
Submodule src/windows-build updated: 64f2c7d5b3...1eef0f3829
Reference in New Issue
Block a user