Skip to content

Commit

Permalink
update to latest .net 9 preview sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
brettfo committed May 24, 2024
1 parent b3412e2 commit 84fb8b0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"features": {
"ghcr.io/devcontainers/features/dotnet:2": {
"version": "9.0",
"version": "9.0.100-preview.4.24267.66",
"additionalVersions": "7.0"
},
"ghcr.io/devcontainers/features/go:1": {
Expand Down
8 changes: 5 additions & 3 deletions build-and-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ try {
npm i
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
if ($IsLinux -And $architecture -eq "arm64") {
# when cross-compiling for linux arm64, we specifically need the x64 version of icon-gen
npm install --platform=linux --arch=x64 icon-gen
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
# when cross-compiling for linux arm64, we specifically need the x64 version of icon-gen and sharp
foreach ($package in @("icon-gen", "sharp")) {
npm install --platform=linux --arch=x64 $package
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
}
}
npm run compile
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "9.0.100-preview.3.24204.13",
"version": "9.0.100-preview.4.24267.66",
"rollForward": "latestMinor"
}
}

0 comments on commit 84fb8b0

Please sign in to comment.