Skip to content

Commit e700451

Browse files
committed
fix: pin SDK to 9.0.x and fix NuGet pack for CI
1 parent eb46ef4 commit e700451

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: dotnet test --no-restore --configuration Release --verbosity normal
3030

3131
- name: Pack NuGet packages
32-
run: dotnet pack --no-restore --configuration Release
32+
run: dotnet pack --no-build --configuration Release -p:ContinuousIntegrationBuild=true
3333

3434
- name: Upload build artifacts
3535
uses: actions/upload-artifact@v4

global.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"sdk": {
3+
"version": "9.0.100",
4+
"rollForward": "latestFeature",
5+
"allowPrerelease": false
6+
}
7+
}

src/ShellUI.Components/ShellUI.Components.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
<IncludeSymbols>true</IncludeSymbols>
2222
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2323

24-
<!-- Disable static web assets compression for packaging -->
24+
<!-- Disable static web assets compression for packaging (.NET 10 SDK bug workaround) -->
2525
<EnableStaticWebAssetsCompression>false</EnableStaticWebAssetsCompression>
26+
<StaticWebAssetsBuildMode Condition="'$(ContinuousIntegrationBuild)' == 'true'">Default</StaticWebAssetsBuildMode>
2627
</PropertyGroup>
2728

2829

0 commit comments

Comments
 (0)