diff --git a/src/Microsoft.PowerShell.Commands.Diagnostics/project.json b/src/Microsoft.PowerShell.Commands.Diagnostics/project.json index 231795604d..651861c6f5 100644 --- a/src/Microsoft.PowerShell.Commands.Diagnostics/project.json +++ b/src/Microsoft.PowerShell.Commands.Diagnostics/project.json @@ -1,40 +1,46 @@ { - "name": "Microsoft.PowerShell.Commands.Diagnostics", - "version": "1.0.0-*", - "buildOptions": { - "keyFile": "../signing/visualstudiopublic.snk", - "delaySign": true, - "publicSign": false, - "warningsAsErrors": true - }, - "dependencies": { - "System.Management.Automation": "1.0.0-*" - }, - "frameworks": { - "netstandard1.6": { - "imports": [ - "dnxcore50" - ], - "buildOptions": { - "define": [ - "CORECLR" - ], - "compile": { - "excludeFiles": [ - "PdhSafeHandle.cs", - "GetEventSnapin.cs", - "CounterSample.cs", - "CounterSet.cs", - "PdhHelper.cs", - "ExportCounterCommand.cs", - "GetCounterCommand.cs", - "ImportCounterCommand.cs", - "CounterFileInfo.cs" - ] - } - } + "name": "Microsoft.PowerShell.Commands.Diagnostics", + "version": "1.0.0-*", + "buildOptions": { + "keyFile": "../signing/visualstudiopublic.snk", + "delaySign": true, + "publicSign": false, + "warningsAsErrors": true }, - "net451": { + + "dependencies": { + "System.Management.Automation": "1.0.0-*" + }, + + "frameworks": { + "netstandard1.6": { + "imports": [ "dnxcore50" ], + "buildOptions": { + "define": [ "CORECLR" ], + "compile": { + "excludeFiles": [ + "PdhSafeHandle.cs", + "GetEventSnapin.cs", + "CounterSample.cs", + "CounterSet.cs", + "PdhHelper.cs", + "ExportCounterCommand.cs", + "GetCounterCommand.cs", + "ImportCounterCommand.cs", + "CounterFileInfo.cs", + + "gen/GetEventResources.cs" + ] + } + } + }, + + "net451": { + "buildOptions": { + "compile": { + "excludeFiles": [ "gen/GetEventResources.cs" ] + } + } + } } - } } diff --git a/src/Microsoft.PowerShell.Commands.Management/project.json b/src/Microsoft.PowerShell.Commands.Management/project.json index 72c13be937..02994cdae5 100644 --- a/src/Microsoft.PowerShell.Commands.Management/project.json +++ b/src/Microsoft.PowerShell.Commands.Management/project.json @@ -47,7 +47,17 @@ "commands/management/UseTransactionCommand.cs", "commands/management/WMIHelper.cs", "commands/management/WebServiceProxy.cs", - "singleshell/installer/MshManagementMshSnapin.cs" + "singleshell/installer/MshManagementMshSnapin.cs", + + "gen/EventlogResources.cs", + "gen/TransactionResources.cs", + "gen/WebServiceResources.cs", + "gen/HotFixResources.cs", + "gen/ControlPanelResources.cs", + "gen/WmiResources.cs", + "gen/ManagementMshSnapInResources.cs", + "gen/ClearRecycleBinResources.cs", + "gen/ClipboardResources.cs" ] }, "embed": { @@ -83,7 +93,9 @@ "buildOptions": { "compile": { "exclude": [ - "commands/management/ControlPanelItemCommand.cs" + "commands/management/ControlPanelItemCommand.cs", + + "gen/ControlPanelResources.cs" ] }, "embed": { diff --git a/src/Microsoft.PowerShell.Commands.Utility/project.json b/src/Microsoft.PowerShell.Commands.Utility/project.json index 5025f4d3b9..b4f324e3d5 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/project.json +++ b/src/Microsoft.PowerShell.Commands.Utility/project.json @@ -58,7 +58,19 @@ "commands/utility/WebCmdlet/WebResponseObjectFactory.cs", "commands/utility/convert-HTML.cs", "commands/utility/update-list.cs", - "singleshell/installer/MshUtilityMshSnapin.cs" + "singleshell/installer/MshUtilityMshSnapin.cs", + + "gen/FormatAndOut_out_gridview.cs", + "gen/ImplicitRemotingStrings.cs", + "gen/UtilityMshSnapinResources.cs", + "gen/OutPrinterDisplayStrings.cs", + "gen/TraceCommandStrings.cs", + "gen/UpdateListStrings.cs", + "gen/SendMailMessageStrings.cs", + "gen/ConvertFromStringResources.cs", + "gen/ConvertStringResources.cs", + "gen/FlashExtractStrings.cs", + "gen/ImmutableStrings.cs" ] }, "embed": { diff --git a/src/Microsoft.PowerShell.ConsoleHost/project.json b/src/Microsoft.PowerShell.ConsoleHost/project.json index 7b8e57207e..bc4ae348b6 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/project.json +++ b/src/Microsoft.PowerShell.ConsoleHost/project.json @@ -72,7 +72,9 @@ "compile": { "exclude": [ "singleshell/installer/EngineInstaller.cs", - "singleshell/installer/MshHostMshSnapin.cs" + "singleshell/installer/MshHostMshSnapin.cs", + + "gen/HostMshSnapinResources.cs" ] }, "embed": { diff --git a/src/Microsoft.PowerShell.Security/project.json b/src/Microsoft.PowerShell.Security/project.json index f1795bc00d..cf9a4c7f33 100644 --- a/src/Microsoft.PowerShell.Security/project.json +++ b/src/Microsoft.PowerShell.Security/project.json @@ -31,7 +31,11 @@ "exclude": [ "security/CertificateCommands.cs", "security/CmsCommands.cs", - "singleshell/installer/MshSecurityMshSnapin.cs" + "singleshell/installer/MshSecurityMshSnapin.cs", + + "gen/CertificateCommands.cs", + "gen/CmsCommands.cs", + "gen/SecurityMshSnapinResources.cs" ] }, "embed": { diff --git a/src/System.Management.Automation/project.json b/src/System.Management.Automation/project.json index fad49661a2..125bf06b39 100644 --- a/src/System.Management.Automation/project.json +++ b/src/System.Management.Automation/project.json @@ -123,7 +123,10 @@ "utils/WindowsErrorReporting.cs", "utils/perfCounters/CounterSetInstanceBase.cs", "utils/perfCounters/CounterSetRegistrarBase.cs", - "utils/perfCounters/PSPerfCountersMgr.cs" + "utils/perfCounters/PSPerfCountersMgr.cs", + + "gen/CoreMshSnapinResources.cs", + "gen/ErrorPackageRemoting.cs" ] }, "embed": { @@ -171,6 +174,9 @@ }, "net451": { "buildOptions": { + "compile": { + "exclude": [ "gen/CoreClrStubResources.cs" ] + }, "embed": { "exclude": [ "resources/CoreClrStubResources.resx" ] }