mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Exclude the unneeded gen/*.cs files from the build for each target framework
This commit is contained in:
@@ -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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -72,7 +72,9 @@
|
||||
"compile": {
|
||||
"exclude": [
|
||||
"singleshell/installer/EngineInstaller.cs",
|
||||
"singleshell/installer/MshHostMshSnapin.cs"
|
||||
"singleshell/installer/MshHostMshSnapin.cs",
|
||||
|
||||
"gen/HostMshSnapinResources.cs"
|
||||
]
|
||||
},
|
||||
"embed": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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" ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user