diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index c641f99..20299b8 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -37,7 +37,8 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.x' + dotnet-version: '10.0.x' + cache: true cache-dependency-path: | **/*.csproj @@ -56,6 +57,13 @@ jobs: version-number: '16.0.1463980' target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools\net8.0' + # TODO: Bump version when net10.0 is released on marketplace + - name: Setup BC DevTools - net10.0 + uses: ./.github/actions/setup-bc-devtools + with: + version-number: '17.0.2273547' + target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools\net10.0' + - name: Restore run: dotnet restore src/RoslynTestKit.sln diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2866e3e..3f643af 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -35,7 +35,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.x' + dotnet-version: '10.0.x' cache: true cache-dependency-path: | **/*.csproj @@ -54,6 +54,12 @@ jobs: version-number: '16.0.1463980' target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools\net8.0' + - name: Setup BC DevTools - net10.0 + uses: ./.github/actions/setup-bc-devtools + with: + version-number: '17.0.2273547' + target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools\net10.0' + - name: Restore run: dotnet restore src/RoslynTestKit.sln diff --git a/src/RoslynTestKit/RoslynTestKit.csproj b/src/RoslynTestKit/RoslynTestKit.csproj index 767c537..551b600 100644 --- a/src/RoslynTestKit/RoslynTestKit.csproj +++ b/src/RoslynTestKit/RoslynTestKit.csproj @@ -1,6 +1,6 @@  - netstandard2.1;net8.0 + netstandard2.1;net8.0;net10.0 ALCops.RoslynTestKit RoslynTestKit A lightweight framework for creating unit tests for Roslyn diagnostic analyzers, code fixes and refactorings. @@ -56,4 +56,23 @@ False + + + + + + + + False + ..\..\Microsoft.Dynamics.BusinessCentral.Development.Tools\net10.0\Microsoft.Dynamics.Nav.CodeAnalysis.dll + False + + + False + ..\..\Microsoft.Dynamics.BusinessCentral.Development.Tools\net10.0\Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.dll + False + + \ No newline at end of file