Merge pull request #1107 from PowerShell/andschwa/exclude-files

Remove CORECLR guards
This commit is contained in:
Sergei Vorobev 2016-06-14 22:00:27 -07:00 committed by GitHub
commit c7af71ed0e
156 changed files with 291 additions and 527 deletions

View file

@ -1,5 +1,4 @@
#if !CORECLR
using System;
using System;
using System.Management.Automation;
using System.Runtime.InteropServices;
using System.IO;
@ -252,5 +251,4 @@ namespace Microsoft.PowerShell.Commands
[DllImport("Shell32.dll", CharSet = CharSet.Unicode)]
internal static extern uint SHEmptyRecycleBin(IntPtr hwnd, string pszRootPath, RecycleFlags dwFlags);
}
}
#endif
}

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -33,5 +32,3 @@ namespace Microsoft.PowerShell.Commands
} // namespace Microsoft.PowerShell.Commands
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -7385,5 +7384,3 @@ $result
#endregion
}//End namespace
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -1632,5 +1631,3 @@ namespace Microsoft.PowerShell.Commands
}//Microsoft.PowerShell.Commands
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
using System;
using System;
using System.Management.Automation;
using System.Collections.Generic;
using System.Windows.Forms;
@ -201,5 +200,4 @@ namespace Microsoft.PowerShell.Commands
return result;
}
}
}
#endif
}

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -27,5 +26,3 @@ namespace Microsoft.PowerShell.Commands
} // namespace Microsoft.PowerShell.Commands
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -469,5 +468,3 @@ namespace Microsoft.PowerShell.Commands
} // namespace Microsoft.PowerShell.Commands
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -277,5 +276,3 @@ namespace Microsoft.PowerShell.Commands
#endregion
}//Microsoft.Powershell.commands
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -299,5 +298,3 @@ namespace Microsoft.PowerShell.Commands
#endregion Command code
}//InvokeWMIObject
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -217,5 +216,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -172,5 +171,3 @@ namespace Microsoft.PowerShell.Commands
#endregion Command code
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -33,5 +32,3 @@ namespace Microsoft.PowerShell.Commands
} // namespace Microsoft.PowerShell.Commands
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
using System;
using System;
using System.Management.Automation;
using System.Collections.Generic;
using System.Globalization;
@ -419,5 +418,4 @@ EndSelection:<<<<<<<<4";
}
}
}
#endif
}

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -194,5 +193,3 @@ namespace Microsoft.PowerShell.Commands
#endregion Command code
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -104,5 +103,3 @@ namespace Microsoft.PowerShell.Commands
} // namespace Microsoft.PowerShell.Commands
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -94,5 +93,3 @@ namespace Microsoft.PowerShell.Commands
} // namespace Microsoft.PowerShell.Commands
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -2112,5 +2111,3 @@ namespace Microsoft.PowerShell.Commands
} // HandleThrottleComplete
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************--
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -478,5 +477,3 @@ namespace Microsoft.PowerShell.Commands
#endregion
}//Microsoft.Powershell.commands
#endif

View file

@ -5,8 +5,7 @@
"buildOptions": {
"warningsAsErrors": true,
"allowUnsafe": true,
"compile": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Management/*.cs" ]
"allowUnsafe": true
},
"dependencies": {
@ -17,7 +16,31 @@
"netstandard1.5": {
"imports": [ "dnxcore50" ],
"buildOptions": {
"define": [ "CORECLR" ]
"define": [ "CORECLR" ],
"compile": {
"include": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Management/*.cs" ],
"exclude": [
"commands/management/ClearRecycleBinCommand.cs",
"commands/management/CommitTransactionCommand.cs",
"commands/management/Computer.cs",
"commands/management/Eventlog.cs",
"commands/management/GetClipboardCommand.cs",
"commands/management/GetTransactionCommand.cs",
"commands/management/GetWMIObjectCommand.cs",
"commands/management/Hotfix.cs",
"commands/management/InvokeWMIMethodCommand.cs",
"commands/management/RegisterWMIEventCommand.cs",
"commands/management/RemoveWMIObjectCommand.cs",
"commands/management/RollbackTransactionCommand.cs",
"commands/management/SetClipboardCommand.cs",
"commands/management/SetWMIInstanceCommand.cs",
"commands/management/StartTransactionCommand.cs",
"commands/management/UseTransactionCommand.cs",
"commands/management/WMIHelper.cs",
"commands/management/WebServiceProxy.cs",
"singleshell/installer/MshManagementMshSnapin.cs"
]
}
},
"dependencies": {
"System.ServiceProcess.ServiceController": "4.1.0-rc2-24103",
@ -25,6 +48,11 @@
}
},
"net451": {
"buildOptions": {
"compile": {
"include": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Management/*.cs" ]
}
},
"frameworkAssemblies": {
"System.ServiceProcess": "",
"System.Windows.Forms": "",
@ -32,7 +60,7 @@
"System.Web.Services": ""
},
"dependencies": {
"Microsoft.WSMan.Management": "1.0.0"
"Microsoft.WSMan.Management": "1.0.0"
}
}
}

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -92,5 +91,3 @@ namespace Microsoft.PowerShell
}
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -57,5 +56,4 @@ namespace Microsoft.PowerShell.Commands
return HostUtilities.GetMaxLines(srcString, 10);
}
}
}
#endif
}

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -39,5 +38,4 @@ namespace Microsoft.PowerShell.Commands
return objectResult == null ? String.Empty : ColumnInfo.LimitString(objectResult.ToString());
}
}
}
#endif
}

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -60,5 +59,4 @@ namespace Microsoft.PowerShell.Commands
return staleObject;
}
}
}
#endif
}

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -72,5 +71,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -530,5 +529,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -308,5 +307,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -77,5 +76,4 @@ namespace Microsoft.PowerShell.Commands
return index++;
}
}
}
#endif
}

View file

@ -1,4 +1,3 @@
#if !CORECLR
//
// Copyright (C) Microsoft. All rights reserved.
//
@ -282,5 +281,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -332,5 +331,3 @@ namespace Microsoft.PowerShell.Commands.Internal.Format
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -75,5 +74,3 @@ namespace Microsoft.PowerShell.Commands
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -2032,7 +2031,9 @@ namespace Microsoft.PowerShell.Commands
return result.ToString();
}
private const string SectionSeparator = "\r\n##############################################################################\r\n";
private const string SectionSeparator = @"
##############################################################################
";
private void GenerateSectionSeparator(TextWriter writer)
{
@ -2079,7 +2080,14 @@ namespace Microsoft.PowerShell.Commands
#region Generating header of a proxy module
private const string TopCommentTemplate = "\r\n<#\r\n # {0}\r\n # {1}\r\n # {2}\r\n # {3}\r\n #>\r\n";
private const string TopCommentTemplate = @"
<#
# {0}
# {1}
# {2}
# {3}
#>
";
private void GenerateTopComment(TextWriter writer)
{
@ -2395,7 +2403,8 @@ function Get-PSImplicitRemotingSession
-ErrorAction SilentlyContinue )
}}
if (($script:PSSession -ne $null) -and ($script:PSSession.Runspace.RunspaceStateInfo.State -eq 'Disconnected'))
{{ # If we are handed a disconnected session, try re-connecting it before creating a new session.
{{
# If we are handed a disconnected session, try re-connecting it before creating a new session.
Set-PSImplicitRemotingSession `
(& $script:ConnectPSSession `
-Session $script:PSSession `
@ -2847,7 +2856,12 @@ function Get-PSImplicitRemotingClientSideParameters
}}
Process {{ {6} }}
End {{ {7} }}
" + "\r\n # .ForwardHelpTargetName {1}\r\n # .ForwardHelpCategory {5}\r\n # .RemoteHelpRunspace PSSession\r\n}}\r\n ";
# .ForwardHelpTargetName {1}
# .ForwardHelpCategory {5}
# .RemoteHelpRunspace PSSession
}}
";
private void GenerateCommandProxy(TextWriter writer, CommandMetadata commandMetadata)
{
@ -3143,4 +3157,3 @@ function Get-PSImplicitRemotingClientSideParameters
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -549,5 +548,4 @@ namespace Microsoft.PowerShell.Commands
}
#endregion
}
#endif
}

View file

@ -1,7 +1,6 @@
#if !CORECLR
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="ShowCommand.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright © Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.PowerShell.Commands
@ -694,5 +693,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,7 +1,6 @@
#if !CORECLR
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="ShowCommandCommandInfo.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright © Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.PowerShell.Commands.ShowCommandExtension
@ -153,5 +152,4 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
/// </summary>
public ICollection<ShowCommandParameterSetInfo> ParameterSets { get; private set; }
}
}
#endif
}

View file

@ -1,7 +1,6 @@
#if !CORECLR
//-----------------------------------------------------------------------
// <copyright file="ShowCommandModuleInfo.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright © Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.PowerShell.Commands.ShowCommandExtension
@ -59,5 +58,4 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
/// </summary>
public string Name { get; private set; }
}
}
#endif
}

View file

@ -1,7 +1,6 @@
#if !CORECLR
//-----------------------------------------------------------------------
// <copyright file="ShowCommandParameterInfo.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright © Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.PowerShell.Commands.ShowCommandExtension
@ -111,5 +110,4 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
/// </summary>
public int Position { get; private set; }
}
}
#endif
}

View file

@ -1,7 +1,6 @@
#if !CORECLR
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="ShowCommandParameterSetInfo.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright © Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.PowerShell.Commands.ShowCommandExtension
@ -75,5 +74,4 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
/// </summary>
public ICollection<ShowCommandParameterInfo> Parameters { get; private set; }
}
}
#endif
}

View file

@ -1,7 +1,6 @@
#if !CORECLR
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="ShowCommandParameterInfo.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright © Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.PowerShell.Commands.ShowCommandExtension
@ -162,5 +161,4 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
/// </summary>
public ArrayList EnumValues { get; private set; }
}
}
#endif
}

View file

@ -1,7 +1,6 @@
#if !CORECLR
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="ShowCommandProxy.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright © Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.PowerShell.Commands
@ -196,5 +195,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -270,5 +269,3 @@ namespace Microsoft.PowerShell.Commands
#endregion Methods
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -207,5 +206,3 @@ namespace Microsoft.PowerShell.Commands
#endregion Internal Helper Methods
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -551,5 +550,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -17,7 +16,7 @@ namespace Microsoft.PowerShell.Commands
/// The Invoke-RestMethod command
/// This command makes an HTTP or HTTPS request to a web service,
/// and returns the response in an appropriate way.
/// Intended to work against the wide spectrum of "RESTful" web services
/// Intended to work against the wide spectrum of “RESTful” web services
/// currently deployed across the web.
/// </summary>
[Cmdlet(VerbsLifecycle.Invoke, "RestMethod", HelpUri = "http://go.microsoft.com/fwlink/?LinkID=217034")]
@ -373,5 +372,3 @@ namespace Microsoft.PowerShell.Commands
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -62,5 +61,3 @@ namespace Microsoft.PowerShell.Commands
#endregion Virtual Method Overrides
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -28,5 +27,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -175,5 +174,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -493,5 +492,3 @@ namespace Microsoft.PowerShell.Commands
#endregion Static Methods
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -1357,5 +1356,3 @@ namespace Microsoft.PowerShell.Commands
#endregion private State class
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -99,5 +98,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -72,5 +71,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -191,5 +190,3 @@ namespace Microsoft.PowerShell.Commands
#endregion Methods
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
/********************************************************************++
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -39,5 +38,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -624,5 +623,3 @@ namespace Microsoft.PowerShell.Commands
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -215,5 +214,3 @@ namespace Microsoft.PowerShell.Commands
}
}
}
#endif

View file

@ -5,8 +5,7 @@
"buildOptions": {
"warningsAsErrors": true,
"allowUnsafe": true,
"compile": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Utility/*.cs" ]
"allowUnsafe": true
},
"dependencies": {
@ -16,7 +15,47 @@
"frameworks": {
"netstandard1.5": {
"buildOptions": {
"define": [ "CORECLR" ]
"define": [ "CORECLR" ],
"compile": {
"include": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Utility/*.cs" ],
"exclude": [
"commands/utility/FormatAndOutput/OutGridView/ColumnInfo.cs",
"commands/utility/FormatAndOutput/OutGridView/ExpressionColumnInfo.cs",
"commands/utility/FormatAndOutput/OutGridView/HeaderInfo.cs",
"commands/utility/FormatAndOutput/OutGridView/OriginalColumnInfo.cs",
"commands/utility/FormatAndOutput/OutGridView/OutGridViewCommand.cs",
"commands/utility/FormatAndOutput/OutGridView/OutWindowProxy.cs",
"commands/utility/FormatAndOutput/OutGridView/ScalarTypeColumnInfo.cs",
"commands/utility/FormatAndOutput/OutGridView/TableView.cs",
"commands/utility/FormatAndOutput/out-printer/PrinterLineOutput.cs",
"commands/utility/FormatAndOutput/out-printer/out-printer.cs",
"commands/utility/ImplicitRemotingCommands.cs",
"commands/utility/Send-MailMessage.cs",
"commands/utility/ShowCommand/ShowCommand.cs",
"commands/utility/ShowCommand/ShowCommandCommandInfo.cs",
"commands/utility/ShowCommand/ShowCommandModuleInfo.cs",
"commands/utility/ShowCommand/ShowCommandParameterInfo.cs",
"commands/utility/ShowCommand/ShowCommandParameterSetInfo.cs",
"commands/utility/ShowCommand/ShowCommandParameterType.cs",
"commands/utility/ShowCommand/ShowCommandProxy.cs",
"commands/utility/WebCmdlet/BasicHtmlWebResponseObject.cs",
"commands/utility/WebCmdlet/ContentHelper.cs",
"commands/utility/WebCmdlet/HtmlWebResponseObject.cs",
"commands/utility/WebCmdlet/InvokeRestMethodCommand.cs",
"commands/utility/WebCmdlet/InvokeWebRequestCommand.cs",
"commands/utility/WebCmdlet/JsonObjectTypeResolver.cs",
"commands/utility/WebCmdlet/PSUserAgent.cs",
"commands/utility/WebCmdlet/StreamHelper.cs",
"commands/utility/WebCmdlet/WebRequestPSCmdlet.cs",
"commands/utility/WebCmdlet/WebRequestSession.cs",
"commands/utility/WebCmdlet/WebResponseHelper.cs",
"commands/utility/WebCmdlet/WebResponseObject.cs",
"commands/utility/WebCmdlet/WebResponseObjectFactory.cs",
"commands/utility/convert-HTML.cs",
"commands/utility/update-list.cs",
"singleshell/installer/MshUtilityMshSnapin.cs"
]
}
},
"imports": [ "dnxcore50", "portable-net45+win8" ],
"dependencies": {
@ -26,6 +65,11 @@
}
},
"net451": {
"buildOptions": {
"compile": {
"include": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Utility/*.cs" ]
}
},
"frameworkAssemblies": {
"System.Drawing": "",
"System.Web": "",

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -92,5 +91,3 @@ namespace Microsoft.PowerShell
}
}
}
#endif

View file

@ -5,8 +5,7 @@
"buildOptions": {
"warningsAsErrors": true,
"allowUnsafe": true,
"compile": [ "../windows-build/gen/Microsoft.PowerShell.Security/*.cs" ]
"allowUnsafe": true
},
"dependencies": {
@ -17,10 +16,23 @@
"netstandard1.5": {
"imports": [ "dnxcore50" ],
"buildOptions": {
"define": [ "CORECLR" ]
"define": [ "CORECLR" ],
"compile": {
"include": [ "../windows-build/gen/Microsoft.PowerShell.Security/*.cs" ],
"exclude": [
"security/CertificateCommands.cs",
"security/CmsCommands.cs",
"singleshell/installer/MshSecurityMshSnapin.cs"
]
}
}
},
"net451": {
"buildOptions": {
"compile": {
"include": [ "../windows-build/gen/Microsoft.PowerShell.Security/*.cs" ]
}
}
}
}
}

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -240,5 +239,3 @@ namespace Microsoft.PowerShell.Commands
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -588,5 +587,3 @@ namespace Microsoft.PowerShell.Commands
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -92,5 +91,3 @@ namespace Microsoft.PowerShell
}
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
// PLEASE DO NOT EDIT THIS FILE BY HAND!!!
// PLEASE DO NOT EDIT THIS FILE BY HAND!!!
//
// This file has been generated
// by D:\bluedev\admin\monad\src\cimSupport\cmdletization\xml\generate.ps1
@ -1796,5 +1795,3 @@ namespace Microsoft.PowerShell.Cmdletization.Xml {
}
}
#endif

View file

@ -1,5 +1,4 @@
#if !CORECLR
// PLEASE DO NOT EDIT THIS FILE BY HAND!!!
// PLEASE DO NOT EDIT THIS FILE BY HAND!!!
//
// This file has been generated
// by D:\bluedev\admin\monad\src\cimSupport\cmdletization\xml\generate.ps1
@ -7756,5 +7755,3 @@ namespace Microsoft.PowerShell.Cmdletization.Xml {
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -132,5 +131,3 @@ namespace Microsoft.PowerShell
#endregion
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -44,5 +43,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -47,5 +46,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -100,5 +99,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -39,5 +38,3 @@ namespace System.Management.Automation.ComInterop {
}
}
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -374,5 +373,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -132,5 +131,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -39,5 +38,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -15,5 +14,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -16,5 +15,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -319,5 +318,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -117,5 +116,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -70,5 +69,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -70,5 +69,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -37,5 +36,3 @@ namespace System.Management.Automation.ComInterop {
}
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -83,5 +82,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -95,5 +94,3 @@ namespace System.Management.Automation.ComInterop {
}
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -529,5 +528,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -64,5 +63,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -122,5 +121,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -126,5 +125,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -155,5 +154,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -766,5 +765,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -16,5 +15,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -83,5 +82,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -221,5 +220,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -92,5 +91,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -226,5 +225,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -56,5 +55,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -23,5 +22,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -40,5 +39,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -35,5 +34,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -35,5 +34,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -54,5 +53,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -45,5 +44,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -68,5 +67,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -139,5 +138,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

View file

@ -1,4 +1,3 @@
#if !CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
@ -80,5 +79,3 @@ namespace System.Management.Automation.ComInterop {
#endif
#endif

Some files were not shown because too many files have changed in this diff Show more