Work-around dotnet bug
The include must be duplicated because the root `buildOptions` is not being applied "whenever compiling the project."
This commit is contained in:
parent
01f1c5348d
commit
d16cfbd04f
|
@ -5,10 +5,7 @@
|
|||
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true,
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Management/*.cs" ]
|
||||
}
|
||||
"allowUnsafe": true
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
|
@ -21,6 +18,7 @@
|
|||
"buildOptions": {
|
||||
"define": [ "CORECLR" ],
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Management/*.cs" ],
|
||||
"exclude": [
|
||||
"commands/management/ClearRecycleBinCommand.cs",
|
||||
"commands/management/CommitTransactionCommand.cs",
|
||||
|
@ -50,6 +48,11 @@
|
|||
}
|
||||
},
|
||||
"net451": {
|
||||
"buildOptions": {
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Management/*.cs" ]
|
||||
}
|
||||
},
|
||||
"frameworkAssemblies": {
|
||||
"System.ServiceProcess": "",
|
||||
"System.Windows.Forms": "",
|
||||
|
@ -57,7 +60,7 @@
|
|||
"System.Web.Services": ""
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.WSMan.Management": "1.0.0"
|
||||
"Microsoft.WSMan.Management": "1.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,10 +5,7 @@
|
|||
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true,
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Utility/*.cs" ]
|
||||
}
|
||||
"allowUnsafe": true
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
|
@ -20,6 +17,7 @@
|
|||
"buildOptions": {
|
||||
"define": [ "CORECLR" ],
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Utility/*.cs" ],
|
||||
"exclude": [
|
||||
"commands/utility/FormatAndOutput/OutGridView/ColumnInfo.cs",
|
||||
"commands/utility/FormatAndOutput/OutGridView/ExpressionColumnInfo.cs",
|
||||
|
@ -67,6 +65,11 @@
|
|||
}
|
||||
},
|
||||
"net451": {
|
||||
"buildOptions": {
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Utility/*.cs" ]
|
||||
}
|
||||
},
|
||||
"frameworkAssemblies": {
|
||||
"System.Drawing": "",
|
||||
"System.Web": "",
|
||||
|
|
|
@ -5,10 +5,7 @@
|
|||
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true,
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/Microsoft.PowerShell.Security/*.cs" ]
|
||||
}
|
||||
"allowUnsafe": true
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
|
@ -21,6 +18,7 @@
|
|||
"buildOptions": {
|
||||
"define": [ "CORECLR" ],
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/Microsoft.PowerShell.Security/*.cs" ],
|
||||
"exclude": [
|
||||
"security/CertificateCommands.cs",
|
||||
"security/CmsCommands.cs",
|
||||
|
@ -30,6 +28,11 @@
|
|||
}
|
||||
},
|
||||
"net451": {
|
||||
"buildOptions": {
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/Microsoft.PowerShell.Security/*.cs" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,10 +5,7 @@
|
|||
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true,
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/System.Management.Automation/*.cs" ]
|
||||
}
|
||||
"allowUnsafe": true
|
||||
},
|
||||
|
||||
"configurations": {
|
||||
|
@ -29,6 +26,7 @@
|
|||
"buildOptions": {
|
||||
"define": [ "CORECLR" ],
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/System.Management.Automation/*.cs" ],
|
||||
"exclude": [
|
||||
"cimSupport/cmdletization/xml/cmdlets-over-objects.objectModel.autogen.cs",
|
||||
"cimSupport/cmdletization/xml/cmdlets-over-objects.xmlSerializer.autogen.cs",
|
||||
|
@ -165,6 +163,12 @@
|
|||
}
|
||||
},
|
||||
"net451": {
|
||||
"buildOptions": {
|
||||
"compile": {
|
||||
"include": [ "../windows-build/gen/System.Management.Automation/*.cs" ]
|
||||
|
||||
}
|
||||
},
|
||||
"frameworkAssemblies": {
|
||||
"System.Runtime": "",
|
||||
"System.Xml": "",
|
||||
|
|
Loading…
Reference in a new issue