Exclude the TimeZone/Computer/FileCatalog cmdlets for Linux. They use windows specific Win32 APIs

This commit is contained in:
Dongbo Wang committed 2016-07-06 13:04:51 -07:00
1 parent 45791aa030
commit c502b31509
7 files changed
+30 -1

No files matched your search

@@ -10,6 +10,14 @@
"allowUnsafe": true
},
"configurations": {
"Linux": {
"buildOptions": {
"define": [ "LINUX" ]
}
}
},
"dependencies": {
"System.Management.Automation": "1.0.0-*"
},
@@ -1,3 +1,5 @@
#if !LINUX
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@@ -279,4 +281,6 @@ namespace Microsoft.PowerShell.Commands
}
}
}
}
#endif