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:
Andrew Schwartzmeyer 2016-06-14 16:05:54 -07:00
parent 01f1c5348d
commit d16cfbd04f
4 changed files with 30 additions and 17 deletions

View file

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

View file

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

View file

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

View file

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