diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..8783b52 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,22 @@ +{ + "name": ".NET in Codespaces", + "image": "mcr.microsoft.com/dotnet/sdk:8.0", + "features": { + "ghcr.io/devcontainers/features/common-utils:2": {}, + "ghcr.io/devcontainers/features/dotnet:2": {} + }, + "customizations": { + "vscode": { + "extensions": [ + "ms-dotnettools.vscode-dotnet-runtime", + "ms-dotnettools.csdevkit", + "ms-dotnetools.csharp", + "richardrigutins.csharp-shortcuts" + ] + } + }, + "remoteEnv": { + "DOTNET_MULTILEVEL_LOOKUP": "0", + "TARGET": "net8.0" + } +} diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 793e3cf..6f652ba 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -29,7 +29,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0 @@ -78,7 +78,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' - name: Authenticate to GitHub Packages run: dotnet nuget add source --username $GITHUB_REPOSITORY_OWNER --password ${API_KEY} --store-password-in-clear-text --name "github" "https://nuget.pkg.github.com/$GITHUB_REPOSITORY_OWNER/index.json" diff --git a/src/Rigutins.DotNetDIPlus/Rigutins.DotNetDIPlus.csproj b/src/Rigutins.DotNetDIPlus/Rigutins.DotNetDIPlus.csproj index 183edc7..fb68bce 100644 --- a/src/Rigutins.DotNetDIPlus/Rigutins.DotNetDIPlus.csproj +++ b/src/Rigutins.DotNetDIPlus/Rigutins.DotNetDIPlus.csproj @@ -1,7 +1,7 @@ - netstandard2.0;netstandard2.1;net6.0;net7.0 + netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0 enable latest richardrigutins @@ -31,6 +31,10 @@ + + + + diff --git a/tests/Rigutins.DotNetDIPlus.Tests/Usings.cs b/tests/Rigutins.DotNetDIPlus.Tests/GlobalUsings.cs similarity index 100% rename from tests/Rigutins.DotNetDIPlus.Tests/Usings.cs rename to tests/Rigutins.DotNetDIPlus.Tests/GlobalUsings.cs diff --git a/tests/Rigutins.DotNetDIPlus.Tests/Rigutins.DotNetDIPlus.Tests.csproj b/tests/Rigutins.DotNetDIPlus.Tests/Rigutins.DotNetDIPlus.Tests.csproj index 6d75c13..3783596 100644 --- a/tests/Rigutins.DotNetDIPlus.Tests/Rigutins.DotNetDIPlus.Tests.csproj +++ b/tests/Rigutins.DotNetDIPlus.Tests/Rigutins.DotNetDIPlus.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable @@ -10,13 +10,13 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all