Skip to content

Commit 2e27268

Browse files
committed
updated to net8.0
1 parent 1e95701 commit 2e27268

File tree

14 files changed

+34
-28
lines changed

14 files changed

+34
-28
lines changed

.config/dotnet-tools.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
"isRoot": true,
44
"tools": {
55
"tomware.releasy": {
6-
"version": "0.6.0",
6+
"version": "0.10.0",
77
"commands": [
88
"releasy"
99
]
1010
},
1111
"dotnet-outdated-tool": {
12-
"version": "4.5.0",
12+
"version": "4.6.0",
1313
"commands": [
1414
"dotnet-outdated"
1515
]
1616
},
1717
"dotnet-ef": {
18-
"version": "7.0.2",
18+
"version": "8.0.1",
1919
"commands": [
2020
"dotnet-ef"
2121
]

.devcontainer/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# [Choice] .NET version: 5.0, 3.1, 2.1
2-
ARG VARIANT=7.0
2+
ARG VARIANT=8.0
33
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:dev-${VARIANT}
44

55
# [Option] Install Node.js
66
ARG INSTALL_NODE="true"
77
ARG NODE_VERSION="lts/*"
8-
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
8+
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
9+
10+
RUN dotnet dev-certs https

.devcontainer/devcontainer.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,26 @@
44
"dockerfile": "Dockerfile",
55
"args": {
66
// Update 'VARIANT' to pick a .NET Core version: 2.1, 3.1
7-
"VARIANT": "7.0",
7+
"VARIANT": "8.0",
88
// Options
99
"INSTALL_NODE": "true",
1010
"NODE_VERSION": "lts/*",
1111
"INSTALL_AZURE_CLI": "false"
1212
}
1313
},
14-
// Set *default* container specific settings.json values on container create.
15-
"settings": { },
16-
// Add the IDs of extensions you want installed when the container is created.
17-
"extensions": [
18-
"ms-dotnettools.csharp",
19-
"ryanluker.vscode-coverage-gutters",
20-
"formulahendry.dotnet-test-explorer"
21-
],
14+
"customizations": {
15+
"vscode": {
16+
"extensions": [
17+
"eamodio.gitlens",
18+
"editorconfig.editorconfig",
19+
"github.vscode-pull-request-github",
20+
"mikestead.dotenv",
21+
"minhthai.vscode-todo-parser",
22+
"ms-dotnettools.csharp",
23+
"ms-dotnettools.csdevkit"
24+
]
25+
}
26+
},
2227
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2328
"forwardPorts": [
2429
4200,

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
- name: Setup .NET
1515
uses: actions/setup-dotnet@v1
1616
with:
17-
dotnet-version: 7.0.x
17+
dotnet-version: 8.0.x
1818
- name: Test
1919
run: ./build.sh test

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup .NET
2222
uses: actions/setup-dotnet@v1
2323
with:
24-
dotnet-version: 7.0.x
24+
dotnet-version: 8.0.x
2525
- name: Pack
2626
run: ./build.sh "pack --version=$RELEASE_VERSION"
2727
- name: Push

.vscode/launch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "coreclr",
77
"request": "launch",
88
"preLaunchTask": "build:targets",
9-
"program": "${workspaceFolder}/build/bin/Debug/net7.0/targets.dll",
9+
"program": "${workspaceFolder}/build/bin/Debug/net8.0/targets.dll",
1010
"args": [
1111
"pack --version=0.0.2&key=1234567890"
1212
],
@@ -19,7 +19,7 @@
1919
"type": "coreclr",
2020
"request": "launch",
2121
"preLaunchTask": "build:WebApi",
22-
"program": "${workspaceRoot}/samples/WebApi/bin/Debug/net7.0/WebApi.dll",
22+
"program": "${workspaceRoot}/samples/WebApi/bin/Debug/net8.0/WebApi.dll",
2323
"args": [
2424
"--urls",
2525
"https://localhost:5001"
@@ -39,7 +39,7 @@
3939
"type": "coreclr",
4040
"request": "launch",
4141
"preLaunchTask": "build:ConsoleClient",
42-
"program": "${workspaceRoot}/samples/ConsoleClient/bin/Debug/net7.0/ConsoleClient.dll",
42+
"program": "${workspaceRoot}/samples/ConsoleClient/bin/Debug/net8.0/ConsoleClient.dll",
4343
"args": [],
4444
"cwd": "${workspaceRoot}/samples/ConsoleClient",
4545
"stopAtEntry": false,

.vscode/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"editor.tabSize": 2,
3-
"editor.rulers": [100],
4-
"dotnet-test-explorer.testProjectPath": "tests"
3+
"editor.rulers": [100]
54
}

build/targets.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
</PropertyGroup>
77

samples/ConsoleClient/ConsoleClient.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
</PropertyGroup>
77

samples/WebApi/WebApi.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
77
<LangVersion>latest</LangVersion>

src/microwf.AspNetCoreEngine/microwf.AspNetCoreEngine.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>tomware.Microwf.AspNetCoreEngine</AssemblyName>
66
<RootNamespace>tomware.Microwf.Engine</RootNamespace>
77
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>

src/microwf.Domain/microwf.Domain.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>tomware.Microwf.Domain</AssemblyName>
66
<RootNamespace>tomware.Microwf.Domain</RootNamespace>
77
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>

src/microwf.Infrastructure/microwf.Infrastructure.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>tomware.Microwf.Infrastructure</AssemblyName>
66
<RootNamespace>tomware.Microwf.Infrastructure</RootNamespace>
77
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>

tests/microwf.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>tomware.Microwf.Tests</AssemblyName>
66
<RootNamespace>tomware.Microwf.Tests</RootNamespace>
77
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)