From dde3452c8dbc76cb344568aae91fc9a90bafc24d Mon Sep 17 00:00:00 2001 From: Gabe Stocco <98900+gfs@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:41:00 -0800 Subject: [PATCH] Try with net 8 sdk but targeting net 7 through msbuild --- Pipelines/vs/devskim-visualstudio-pr.yml | 4 +--- Pipelines/vs/devskim-visualstudio-release.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Pipelines/vs/devskim-visualstudio-pr.yml b/Pipelines/vs/devskim-visualstudio-pr.yml index 939222bf..ad473d9c 100644 --- a/Pipelines/vs/devskim-visualstudio-pr.yml +++ b/Pipelines/vs/devskim-visualstudio-pr.yml @@ -30,9 +30,7 @@ stages: parameters: buildTool: 'msbuild' buildConfiguration: 'Release' - # 12/5/23 - This has to be built with msbuild but the template refuses to fetch the latest version of msbuild - # so we have to build with net 7 for now as the version fetched does not support net 8 - dotnetVersion: '7.0.x' + dotnetVersion: '8.0.x' targetFramework: 'net47' projectPath: 'DevSkim-DotNet/Microsoft.DevSkim.VisualStudio/Microsoft.DevSkim.VisualStudio.csproj' projectName: 'DevSkim_VS' diff --git a/Pipelines/vs/devskim-visualstudio-release.yml b/Pipelines/vs/devskim-visualstudio-release.yml index 7d0b753a..a01ab658 100644 --- a/Pipelines/vs/devskim-visualstudio-release.yml +++ b/Pipelines/vs/devskim-visualstudio-release.yml @@ -34,9 +34,7 @@ stages: parameters: buildTool: 'msbuild' buildConfiguration: 'Release' - # 12/5/23 - This has to be built with msbuild but the template refuses to fetch the latest version of msbuild - # so we have to build with net 7 for now as the version fetched does not support net 8 - dotnetVersion: '7.0.x' + dotnetVersion: '8.0.x' targetFramework: 'net47' projectPath: 'DevSkim-DotNet/Microsoft.DevSkim.VisualStudio/Microsoft.DevSkim.VisualStudio.csproj' projectName: 'DevSkim_VS'