Skip to content

Commit a793b65

Browse files
Disable package pruning by force
1 parent 7b7fc8b commit a793b65

File tree

5 files changed

+12
-15
lines changed

5 files changed

+12
-15
lines changed

.github/workflows/build-frontends.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
dotnet-quality: 'preview'
2626

2727
- name: Install dependencies
28-
run: dotnet restore ILSpy.XPlat.slnf
28+
run: dotnet restore ILSpy.XPlat.slnf -p:RestoreEnablePackagePruning=false
2929

3030
- name: Build Debug
3131
run: dotnet msbuild ILSpy.XPlat.slnf -p:Configuration=Debug -bl:Debug.binlog

.github/workflows/build-ilspy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
Get-ChildItem Env: | Where-Object {$_.Name -Match "^ILSPY_"} | %{ echo "$($_.Name)=$($_.Value)" } | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
5858
5959
- name: Restore the application
60-
run: msbuild ILSpy.sln /t:Restore /p:Configuration=${{ matrix.configuration }} /p:Platform=$env:BuildPlatform
60+
run: msbuild ILSpy.sln /t:Restore /p:RestoreEnablePackagePruning=false /p:Configuration=${{ matrix.configuration }} /p:Platform=$env:BuildPlatform
6161

6262
- name: Build
6363
run: msbuild ILSpy.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=$env:BuildPlatform /m

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
dotnet-quality: 'preview'
4242

4343
- name: Build
44-
run: dotnet build ILSpy.XPlat.slnf --configuration Release
44+
run: dotnet build ILSpy.XPlat.slnf --configuration Release -p:RestoreEnablePackagePruning=false
4545

4646
- name: Perform CodeQL Analysis
4747
uses: github/codeql-action/analyze@v3

ICSharpCode.ILSpyCmd/packages.lock.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,8 @@
425425
"System.Collections.Immutable": {
426426
"type": "CentralTransitive",
427427
"requested": "[9.0.4, )",
428-
"resolved": "9.0.4",
429-
"contentHash": "wfm2NgK22MmBe5qJjp52qzpkeDZKb4l9LbdubhZSehY1z4LS+lld6R+B+UQNb2AZRHu/QJlHxEUcRst5hIEejg=="
428+
"resolved": "8.0.0",
429+
"contentHash": "AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg=="
430430
},
431431
"System.Composition.AttributedModel": {
432432
"type": "CentralTransitive",
@@ -438,10 +438,7 @@
438438
"type": "CentralTransitive",
439439
"requested": "[9.0.4, )",
440440
"resolved": "9.0.4",
441-
"contentHash": "qeJNsMmZPc/Lieg0Md+D4F6LoLcxV3b9QsUNmBRXc2ZVOkMbAcwuO9l2jbQFv3n+fLiHJilN8v6i5aJNivjrCQ==",
442-
"dependencies": {
443-
"System.Collections.Immutable": "9.0.4"
444-
}
441+
"contentHash": "qeJNsMmZPc/Lieg0Md+D4F6LoLcxV3b9QsUNmBRXc2ZVOkMbAcwuO9l2jbQFv3n+fLiHJilN8v6i5aJNivjrCQ=="
445442
},
446443
"System.Runtime.CompilerServices.Unsafe": {
447444
"type": "CentralTransitive",

ICSharpCode.ILSpyX/packages.lock.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@
4040
"type": "Direct",
4141
"requested": "[9.0.4, )",
4242
"resolved": "9.0.4",
43-
"contentHash": "qeJNsMmZPc/Lieg0Md+D4F6LoLcxV3b9QsUNmBRXc2ZVOkMbAcwuO9l2jbQFv3n+fLiHJilN8v6i5aJNivjrCQ==",
44-
"dependencies": {
45-
"System.Collections.Immutable": "9.0.4"
46-
}
43+
"contentHash": "qeJNsMmZPc/Lieg0Md+D4F6LoLcxV3b9QsUNmBRXc2ZVOkMbAcwuO9l2jbQFv3n+fLiHJilN8v6i5aJNivjrCQ=="
4744
},
4845
"System.Runtime.CompilerServices.Unsafe": {
4946
"type": "Direct",
@@ -77,8 +74,11 @@
7774
"System.Collections.Immutable": {
7875
"type": "CentralTransitive",
7976
"requested": "[9.0.4, )",
80-
"resolved": "9.0.4",
81-
"contentHash": "wfm2NgK22MmBe5qJjp52qzpkeDZKb4l9LbdubhZSehY1z4LS+lld6R+B+UQNb2AZRHu/QJlHxEUcRst5hIEejg=="
77+
"resolved": "6.0.0",
78+
"contentHash": "l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==",
79+
"dependencies": {
80+
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
81+
}
8282
}
8383
}
8484
}

0 commit comments

Comments
 (0)