Added PORTABLE as define for debugging and reidented tests.
This commit is contained in:
parent
f483429d11
commit
acd9249fe2
|
@ -24,7 +24,7 @@
|
||||||
"netstandard1.5": {
|
"netstandard1.5": {
|
||||||
"imports": [ "dnxcore50" ],
|
"imports": [ "dnxcore50" ],
|
||||||
"buildOptions": {
|
"buildOptions": {
|
||||||
"define": [ "CORECLR" ],
|
"define": [ "CORECLR", "PORTABLE" ],
|
||||||
"compile": {
|
"compile": {
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"cimSupport/cmdletization/xml/cmdlets-over-objects.objectModel.autogen.cs",
|
"cimSupport/cmdletization/xml/cmdlets-over-objects.objectModel.autogen.cs",
|
||||||
|
|
|
@ -1427,7 +1427,7 @@ namespace System.Management.Automation
|
||||||
"SecurityMshSnapInResources,Description","SecurityMshSnapInResources,Vendor")
|
"SecurityMshSnapInResources,Description","SecurityMshSnapInResources,Vendor")
|
||||||
};
|
};
|
||||||
|
|
||||||
#if !CORECLR //TODO:CORECLR - The 'Microsoft.WSMan.Management' module will be available on OneCore soon
|
#if !LINUX
|
||||||
if (!Utils.IsWinPEHost())
|
if (!Utils.IsWinPEHost())
|
||||||
{
|
{
|
||||||
defaultMshSnapins.Add(new DefaultPSSnapInInformation("Microsoft.WSMan.Management", "Microsoft.WSMan.Management", null,
|
defaultMshSnapins.Add(new DefaultPSSnapInInformation("Microsoft.WSMan.Management", "Microsoft.WSMan.Management", null,
|
||||||
|
|
|
@ -3,7 +3,7 @@ using namespace System.Diagnostics
|
||||||
Describe "PowerShell Command Debugging"{
|
Describe "PowerShell Command Debugging"{
|
||||||
$powershell = Join-Path -Path $PsHome -ChildPath "powershell"
|
$powershell = Join-Path -Path $PsHome -ChildPath "powershell"
|
||||||
|
|
||||||
function NewProcessStartInfo([string]$CommandLine, [switch]$RedirectStdIn)
|
function NewProcessStartInfo([string]$CommandLine, [switch]$RedirectStdIn)
|
||||||
{
|
{
|
||||||
return [ProcessStartInfo]@{
|
return [ProcessStartInfo]@{
|
||||||
FileName = $powershell
|
FileName = $powershell
|
||||||
|
|
Loading…
Reference in a new issue