From a9d4cd09c817eba1f6a64192a01c0120c7b49563 Mon Sep 17 00:00:00 2001 From: Arlo Date: Sun, 1 Dec 2024 14:22:49 -0600 Subject: [PATCH] Force dotnet to install and use the version explictly installed in CI. Adjust warnings handling in Directory.Build.props --- .github/workflows/build.yml | 2 ++ .github/workflows/config/Directory.Build.props | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 47051943..5b7feb9f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,8 @@ on: env: DOTNET_VERSION: ${{ '8.0.x' }} + DOTNET_INSTALL_DIR: dotnet-install + DOTNET_ROOT: dotnet-install ENABLE_DIAGNOSTICS: false #COREHOST_TRACE: 1 COREHOST_TRACEFILE: corehosttrace.log diff --git a/.github/workflows/config/Directory.Build.props b/.github/workflows/config/Directory.Build.props index d4af5636..51cb6a00 100644 --- a/.github/workflows/config/Directory.Build.props +++ b/.github/workflows/config/Directory.Build.props @@ -17,8 +17,9 @@ (c) .NET Foundation and Contributors. All rights reserved. https://github.com/CommunityToolkit/Tooling-Windows-Submodule https://github.com/CommunityToolkit/Tooling-Windows-Submodule/releases - - $(NoWarn);NU1505;NU1504 + + + NU1901;NU1902;NU1903;NU1904