Skip to content

Commit c829d9e

Browse files
adamdriscolldaxian-dbw
authored andcommitted
Adding debugType portable to project.json. (PowerShell#1959)
* Adding debugType portable to project.json. * Move debugType. * Update project.json * Update project.json * Update project.json * Update project.json * Update project.json * Update project.json * Update project.json * Update project.json * Moving debugType into correct places. Removing from non-core builds. * Added missed files. * Fixing project.json debugType placement.
1 parent 20a525b commit c829d9e

27 files changed

Lines changed: 47 additions & 23 deletions

File tree

src/Microsoft.Management.Infrastructure.CimCmdlets/project.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"keyFile": "../signing/visualstudiopublic.snk",
77
"delaySign": true,
88
"publicSign": false,
9-
"warningsAsErrors": true,
9+
"warningsAsErrors": true
1010
},
1111

1212
"dependencies": {
@@ -17,8 +17,9 @@
1717
"netstandard1.6": {
1818
"imports": [ "dnxcore50"],
1919
"buildOptions": {
20-
"define": [ "CORECLR" ]
21-
},
20+
"define": [ "CORECLR" ],
21+
"debugType": "portable"
22+
}
2223
},
2324
"net451": {
2425
"frameworkAssemblies": {

src/Microsoft.PackageManagement.ArchiverProviders/project.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@
4444
"netstandard1.6": {
4545
"imports": ["dnxcore50"],
4646
"buildOptions": {
47-
"define": ["CORECLR"]
47+
"define": ["CORECLR"],
48+
"debugType": "portable"
4849
}
4950
}
5051
}
51-
}
52+
}

src/Microsoft.PackageManagement.CoreProviders/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
"netstandard1.6": {
4545
"imports": ["dnxcore50"],
4646
"buildOptions": {
47-
"define": ["CORECLR", "PORTABLE"],
47+
"define": ["CORECLR", "PORTABLE"],
48+
"debugType": "portable",
4849
"compile": {
4950
"exclude": [ "ProgramsProvider.cs"]
5051
}

src/Microsoft.PackageManagement.MetaProvider.PowerShell/project.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@
4444
"netstandard1.6": {
4545
"imports": ["dnxcore50"],
4646
"buildOptions": {
47-
"define": ["CORECLR"]
47+
"define": ["CORECLR"],
48+
"debugType": "portable"
4849
}
4950
}
5051
}
51-
}
52+
}

src/Microsoft.PackageManagement.MsiProvider/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@
4242
}
4343
}
4444
}
45-
}
45+
}

src/Microsoft.PackageManagement.MsuProvider/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@
4242
}
4343
}
4444
}
45-
}
45+
}

src/Microsoft.PackageManagement.NuGetProvider/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"imports": ["dnxcore50"],
5454
"buildOptions": {
5555
"define": ["CORECLR"],
56+
"debugType": "portable",
5657
"compile": {
5758
"include": [
5859
"../Microsoft.PackageManagement/Providers/Inbox/Common/Extensions/Extensions.cs",
@@ -66,4 +67,4 @@
6667
}
6768
}
6869
}
69-
}
70+
}

src/Microsoft.PackageManagement.PackageSourceListProvider/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"imports": ["dnxcore50"],
5555
"buildOptions": {
5656
"define": ["CORECLR"],
57+
"debugType": "portable",
5758
"compile": {
5859
"include": [
5960
"../Microsoft.PackageManagement/Providers/Inbox/Common/Extensions/*.cs",

src/Microsoft.PackageManagement/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"imports": [ "dnxcore50" ],
5050
"buildOptions": {
5151
"define": [ "CORECLR", "PORTABLE" ],
52+
"debugType": "portable",
5253
"compile": {
5354
"exclude": [ "Providers/Inbox/Common/*" ]
5455
}

src/Microsoft.PowerShell.Commands.Diagnostics/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"imports": [ "dnxcore50" ],
2020
"buildOptions": {
2121
"define": [ "CORECLR" ],
22+
"debugType": "portable",
2223
"compile": {
2324
"excludeFiles": [
2425
"PdhSafeHandle.cs",

0 commit comments

Comments
 (0)