diff --git a/src/Microsoft.PowerShell.Commands.Management/project.json b/src/Microsoft.PowerShell.Commands.Management/project.json index 1ff98e371b..72c13be937 100644 --- a/src/Microsoft.PowerShell.Commands.Management/project.json +++ b/src/Microsoft.PowerShell.Commands.Management/project.json @@ -49,11 +49,25 @@ "commands/management/WebServiceProxy.cs", "singleshell/installer/MshManagementMshSnapin.cs" ] + }, + "embed": { + "exclude": [ + "resources/EventlogResources.resx", + "resources/TransactionResources.resx", + "resources/WebServiceResources.resx", + "resources/HotFixResources.resx", + "resources/ControlPanelResources.resx", + "resources/WmiResources.resx", + "resources/ManagementMshSnapInResources.resx", + "resources/ClearRecycleBinResources.resx", + "resources/ClipboardResources.resx" + ] } }, "dependencies": { "System.ServiceProcess.ServiceController": "4.1.0", - "System.Net.NameResolution": "4.0.0" + "System.Net.NameResolution": "4.0.0", + "System.Net.Ping": "4.0.0" } }, "net451": { @@ -71,6 +85,11 @@ "exclude": [ "commands/management/ControlPanelItemCommand.cs" ] + }, + "embed": { + "exclude": [ + "resources/ControlPanelResources.resx" + ] } } } diff --git a/src/Microsoft.PowerShell.Commands.Utility/project.json b/src/Microsoft.PowerShell.Commands.Utility/project.json index 2dcd773a90..5025f4d3b9 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/project.json +++ b/src/Microsoft.PowerShell.Commands.Utility/project.json @@ -60,6 +60,21 @@ "commands/utility/update-list.cs", "singleshell/installer/MshUtilityMshSnapin.cs" ] + }, + "embed": { + "exclude": [ + "resources/FormatAndOut_out_gridview.resx", + "resources/ImplicitRemotingStrings.resx", + "resources/UtilityMshSnapinResources.resx", + "resources/OutPrinterDisplayStrings.resx", + "resources/TraceCommandStrings.resx", + "resources/UpdateListStrings.resx", + "resources/SendMailMessageStrings.resx", + "resources/ConvertFromStringResources.resx", + "resources/ConvertStringResources.resx", + "resources/FlashExtractStrings.resx", + "resources/ImmutableStrings.resx" + ] } }, "imports": [ "dnxcore50", "portable-net45+win8" ], diff --git a/src/Microsoft.PowerShell.ConsoleHost/project.json b/src/Microsoft.PowerShell.ConsoleHost/project.json index 776f1d9aef..7b8e57207e 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/project.json +++ b/src/Microsoft.PowerShell.ConsoleHost/project.json @@ -74,6 +74,11 @@ "singleshell/installer/EngineInstaller.cs", "singleshell/installer/MshHostMshSnapin.cs" ] + }, + "embed": { + "exclude": [ + "resources/HostMshSnapinResources.resx" + ] } }, "dependencies": { diff --git a/src/Microsoft.PowerShell.Security/project.json b/src/Microsoft.PowerShell.Security/project.json index 1ad6818a8d..3f8f191de4 100644 --- a/src/Microsoft.PowerShell.Security/project.json +++ b/src/Microsoft.PowerShell.Security/project.json @@ -25,6 +25,13 @@ "security/CmsCommands.cs", "singleshell/installer/MshSecurityMshSnapin.cs" ] + }, + "embed": { + "exclude": [ + "resources/CertificateCommands.resx", + "resources/CmsCommands.resx", + "resources/SecurityMshSnapinResources.resx" + ] } } }, diff --git a/src/System.Management.Automation/project.json b/src/System.Management.Automation/project.json index 4ea22be7f2..fad49661a2 100644 --- a/src/System.Management.Automation/project.json +++ b/src/System.Management.Automation/project.json @@ -125,6 +125,12 @@ "utils/perfCounters/CounterSetRegistrarBase.cs", "utils/perfCounters/PSPerfCountersMgr.cs" ] + }, + "embed": { + "exclude": [ + "resources/CoreMshSnapinResources.resx", + "resources/ErrorPackageRemoting.resx" + ] } }, "dependencies": { @@ -164,6 +170,11 @@ } }, "net451": { + "buildOptions": { + "embed": { + "exclude": [ "resources/CoreClrStubResources.resx" ] + } + }, "frameworkAssemblies": { "System.Runtime": "", "System.Xml": "",