mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update project.json files to exclude certain .resx files for each target framework
This commit is contained in:
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" ],
|
||||
|
||||
@@ -74,6 +74,11 @@
|
||||
"singleshell/installer/EngineInstaller.cs",
|
||||
"singleshell/installer/MshHostMshSnapin.cs"
|
||||
]
|
||||
},
|
||||
"embed": {
|
||||
"exclude": [
|
||||
"resources/HostMshSnapinResources.resx"
|
||||
]
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -25,6 +25,13 @@
|
||||
"security/CmsCommands.cs",
|
||||
"singleshell/installer/MshSecurityMshSnapin.cs"
|
||||
]
|
||||
},
|
||||
"embed": {
|
||||
"exclude": [
|
||||
"resources/CertificateCommands.resx",
|
||||
"resources/CmsCommands.resx",
|
||||
"resources/SecurityMshSnapinResources.resx"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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": "",
|
||||
|
||||
Reference in New Issue
Block a user