Update project.json files to exclude certain .resx files for each target framework

This commit is contained in:
Dongbo Wang 2016-07-03 16:57:11 -07:00
parent 49fea9dac9
commit b4641986a2
5 changed files with 58 additions and 1 deletions

View file

@ -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"
]
}
}
}

View file

@ -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" ],

View file

@ -74,6 +74,11 @@
"singleshell/installer/EngineInstaller.cs",
"singleshell/installer/MshHostMshSnapin.cs"
]
},
"embed": {
"exclude": [
"resources/HostMshSnapinResources.resx"
]
}
},
"dependencies": {

View file

@ -25,6 +25,13 @@
"security/CmsCommands.cs",
"singleshell/installer/MshSecurityMshSnapin.cs"
]
},
"embed": {
"exclude": [
"resources/CertificateCommands.resx",
"resources/CmsCommands.resx",
"resources/SecurityMshSnapinResources.resx"
]
}
}
},

View file

@ -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": "",