Skip to content

Commit

Permalink
Force dotnet to install and use the version explictly installed in CI…
Browse files Browse the repository at this point in the history
…. Adjust warnings handling in Directory.Build.props
  • Loading branch information
Arlodotexe authored and michael-hawker committed Dec 2, 2024
1 parent d71b08b commit 2ed2861
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/config/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
<Copyright>(c) .NET Foundation and Contributors. All rights reserved.</Copyright>
<PackageProjectUrl>https://github.com/CommunityToolkit/Tooling-Windows-Submodule</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/CommunityToolkit/Tooling-Windows-Submodule/releases</PackageReleaseNotes>
<!-- TODO: Remove when closing https://github.com/CommunityToolkit/Labs-Windows/issues/256 -->
<NoWarn>$(NoWarn);NU1505;NU1504</NoWarn>

<!-- See https://github.com/CommunityToolkit/Labs-Windows/pull/605#issuecomment-2498743676 -->
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 2ed2861

Please sign in to comment.