mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
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:
1 parent
01f1c5348d
commit
d16cfbd04f
4 files changed
+30
-17
No files matched your search
@@ -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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user