Skip to content

Commit a7c23ad

Browse files
Update .NET version for tools
1 parent e3b8c01 commit a7c23ad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/dotnet/.devcontainer/base.Dockerfile
22

33
# [Choice] .NET version: 7.0, 6.0, 5.0
4-
ARG VARIANT="6.0"
4+
ARG VARIANT="8.0"
55
FROM mcr.microsoft.com/vscode/devcontainers/dotnet

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"remoteEnv": {
2121
"PATH": "${containerWorkspaceFolder}/.dotnet:${containerEnv:PATH}",
2222
"DOTNET_MULTILEVEL_LOOKUP": "0",
23-
"TARGET": "net6.0",
23+
"TARGET": "net8.0",
2424
"DOTNET_WATCH_SUPPRESS_LAUNCH_BROWSER": "true"
2525
},
2626
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/setup-dotnet@v3
3232
id: installdotnet
3333
with:
34-
dotnet-version: 7.0.x
34+
dotnet-version: 8.0.x
3535

3636
- name: Create temporary global.json
3737
run: echo '{"sdk":{"version":"${{ steps.installdotnet.outputs.dotnet-version }}"}}' > ./global.json

0 commit comments

Comments
 (0)