Skip to content

Add warning MSB4280 when DOTNET_HOST_PATH is set to a directory#13091

Merged
JanProvaznik merged 8 commits intomainfrom
copilot/add-warning-for-dotnet-host-path
Jan 23, 2026
Merged

Add warning MSB4280 when DOTNET_HOST_PATH is set to a directory#13091
JanProvaznik merged 8 commits intomainfrom
copilot/add-warning-for-dotnet-host-path

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 22, 2026

Context

Roslyn build tasks and other SDK tools rely on DOTNET_HOST_PATH to locate the dotnet executable. When users set this variable to a directory path instead of a file path, builds fail with unhelpful error messages, making root cause difficult to identify.

Changes Made

  • Added warning MSB4280 in BuildManager.BeginBuild that fires when DOTNET_HOST_PATH points to a directory
  • Warning text includes the invalid path and guidance to fix
  • Added exception handling using ExceptionHandling.IsIoRelatedException() pattern for graceful failure when checking the path
  • Created EnvironmentVariableValidator.cs in src/Build/BackEnd/BuildManager/ to centralize environment variable validation logic:
    • Single public entry point ValidateEnvironmentVariables(ILoggingService) called from BuildManager
    • Private validation methods for each environment variable (currently ValidateDotnetHostPath)
    • Extensible design allowing future validations to be added without modifying BuildManager

Example output:

warning MSB4280: The environment variable DOTNET_HOST_PATH is set to a directory ("/tmp") instead of a path to the dotnet executable. This can lead to build errors in tasks that use this variable such as the Roslyn compiler. Either unset the variable or update it to point to the dotnet executable directly (e.g. "C:\Program Files\dotnet\dotnet.exe").

Testing

  • DotnetHostPathDirectoryWarning: verifies warning when path is directory
  • DotnetHostPathFileNoWarning: verifies no warning when path is file
  • DotnetHostPathNotSetNoWarning: verifies no warning when unset

Tests use shared test infrastructure (_env, _buildManager, _parameters, _logger) for concise implementation.

Notes

Validation uses FileSystems.Default.DirectoryExists() to detect directories without introducing new filesystem abstractions. I/O exceptions are silently ignored since this validation is best-effort and should not cause build failures if the path cannot be checked.

The EnvironmentVariableValidator architecture is intentionally separate from the Traits class because:

  • Traits is for feature flags (reading env vars to toggle behavior) and lives in Framework assembly without ILoggingService access
  • EnvironmentVariableValidator is for value validation with logged warnings, requiring ILoggingService which is only available in the Build project
  • These are fundamentally different patterns: feature flags vs. configuration validation
Original prompt

This section details on the original issue you should resolve

<issue_title>Should MSBuild report a warning if DOTNET_HOST_PATH is set to a directory?</issue_title>
<issue_description>See https://developercommunity.visualstudio.com/t/VS-2026-fails-to-build-net-10-web-app/11011933 (https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2654293).

Roslyn build tasks use DOTNET_HOST_PATH variable set by MSBuild, I assume other tasks might do that too. If that variable is overwritten by the user from the outside to a directory path (instead of a file path), this leads to unhelpful errors, so it might be nice if MSBuild warned about that to help users determine the root cause.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Hello @@copilot, I noticed that you’re changing an .swr file or any file under src/Package/MSBuild.VSSetup.. Please make sure to validate this change by an experimental VS insertion. This is accomplished by pushing to an exp/* branch, which requires write permissions to this repo.

Co-authored-by: JanProvaznik <25267098+JanProvaznik@users.noreply.github.com>
Copilot AI changed the title [WIP] Add warning for incorrect DOTNET_HOST_PATH usage in MSBuild Add warning MSB4280 when DOTNET_HOST_PATH is set to a directory Jan 22, 2026
Copilot AI requested a review from JanProvaznik January 22, 2026 15:43
Co-authored-by: JanProvaznik <25267098+JanProvaznik@users.noreply.github.com>
Co-authored-by: JanProvaznik <25267098+JanProvaznik@users.noreply.github.com>
Co-authored-by: JanProvaznik <25267098+JanProvaznik@users.noreply.github.com>
Co-authored-by: JanProvaznik <25267098+JanProvaznik@users.noreply.github.com>
Co-authored-by: JanProvaznik <25267098+JanProvaznik@users.noreply.github.com>
github-actions bot pushed a commit to IntelliTect/Multitool that referenced this pull request Mar 16, 2026
Updated [Microsoft.Build](https://github.com/dotnet/msbuild) from 18.3.3
to 18.4.0.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.Build's
releases](https://github.com/dotnet/msbuild/releases)._

## 18.4.0

## What's Changed
* Fix terminal logger quiet mode to show project context for
warnings/errors by @​Copilot in
dotnet/msbuild#12930
* Replace OpenTelemetry with Microsoft.VisualStudio.Telemetry for VS by
@​YuliiaKovalova in dotnet/msbuild#12843
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13050856 by @​dotnet-bot in
dotnet/msbuild#12982
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#12979
* eliminate test data serialization warnings by @​JanProvaznik in
dotnet/msbuild#12983
* Add the feature flag that allows users to opt out automatic UTF8
console encoding by @​GangWang01 in
dotnet/msbuild#12637
* Polyfill clean up and source package organization by @​DustinCampbell
in dotnet/msbuild#12977
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13052367 by @​dotnet-bot in
dotnet/msbuild#12984
* Add documentation for enabling binlog collection via env var by
@​YuliiaKovalova in dotnet/msbuild#12805
* Support multiple binary logs from command line arguments by @​Copilot
in dotnet/msbuild#12706
* Add VcxprojReader.exe to ngenApplications by @​YuliiaKovalova in
dotnet/msbuild#12986
* Add HostServices support in Out-of-Process Task Host by
@​YuliiaKovalova in dotnet/msbuild#12753
* [main] Update dependencies from dotnet/roslyn by @​dotnet-maestro[bot]
in dotnet/msbuild#13002
* [main] Update dependencies from dotnet/arcade by @​dotnet-maestro[bot]
in dotnet/msbuild#13000
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13078382 by @​dotnet-bot in
dotnet/msbuild#13003
* Add telemetry tracking for task factory names and runtime usage by
@​Copilot in dotnet/msbuild#12989
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#12987
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13079827 by @​dotnet-bot in
dotnet/msbuild#13010
* Snap for VS 18.3 and update branding to VS 18.4 by @​Copilot in
dotnet/msbuild#13005
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#13012
* Add telemetry to categorize build failure reasons by @​Copilot in
dotnet/msbuild#13007
* Update MicrosoftBuildVersion in analyzer template by
@​github-actions[bot] in dotnet/msbuild#13011
* Update OptProf drop metadata configuration by @​YuliiaKovalova in
dotnet/msbuild#13020
* Fix MSB1025 error when using DistributedFileLogger (-dfl flag) by
@​Copilot in dotnet/msbuild#13036
* CmdLine parsing was extracted from XMake and the implementation is
visible to dotnet (attempt 2) by @​MichalPavlik in
dotnet/msbuild#12836
* Make task environment path absolutization not throw. by @​AR-May in
dotnet/msbuild#13035
* Fix flaky test TestTerminalLoggerTogetherWithOtherLoggers by @​Copilot
in dotnet/msbuild#13044
* Enlighten more tasks that require no change by @​AR-May in
dotnet/msbuild#13045
* [main] Update dependencies from dotnet/roslyn by @​dotnet-maestro[bot]
in dotnet/msbuild#13050
* [main] Update dependencies from dotnet/arcade by @​dotnet-maestro[bot]
in dotnet/msbuild#13048
* Add support for MSBUILD_LOGGING_ARGS by @​YuliiaKovalova in
dotnet/msbuild#12993
* Fix MSBuildEventSource by @​dfederm in
dotnet/msbuild#13030
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13124182 by @​dotnet-bot in
dotnet/msbuild#13053
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#13031
* Add incrementality tracking support and more detailed analysis of the
build errors reported by @​YuliiaKovalova in
dotnet/msbuild#13057
* [automated] Merge branch 'vs18.3' => 'main' by @​github-actions[bot]
in dotnet/msbuild#13055
* Enable com support for clr4 in task host by @​YuliiaKovalova in
dotnet/msbuild#13033
* Add 'rel/d18.3' to insertion target branch options by @​ViktorHofer in
dotnet/msbuild#13067
* add OriginalValue property to AbsolutePath by @​JanProvaznik in
dotnet/msbuild#13077
* [automated] Merge branch 'vs18.3' => 'main' by @​github-actions[bot]
in dotnet/msbuild#13074
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13137486 by @​dotnet-bot in
dotnet/msbuild#13075
* Refactor FileUtilities.cs and add methods for absolute paths. by
@​AR-May in dotnet/msbuild#13079
* Limit extended flag usage to NET and CLR4 runtimes by @​YuliiaKovalova
in dotnet/msbuild#13080
* [main] Update dependencies from nuget/nuget.client by
@​dotnet-maestro[bot] in dotnet/msbuild#13065
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13137926 by @​dotnet-bot in
dotnet/msbuild#13081
* Update to 10.0.1 references by @​rainersigwald in
dotnet/msbuild#13072
* Undo COM support in out of proc task host CLR4 by @​YuliiaKovalova in
dotnet/msbuild#13089
* Add Managed Identity for bootstrapper creation by @​rainersigwald in
dotnet/msbuild#13092
* Add warning MSB4280 when DOTNET_HOST_PATH is set to a directory by
@​Copilot in dotnet/msbuild#13091
 ... (truncated)

Commits viewable in [compare
view](dotnet/msbuild@v18.3.3...v18.4.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.Build&package-manager=nuget&previous-version=18.3.3&new-version=18.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
premun pushed a commit to sharpliner/sharpliner that referenced this pull request Mar 16, 2026
Updated [Microsoft.Build.Framework](https://github.com/dotnet/msbuild)
from 18.3.3 to 18.4.0.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.Build.Framework's
releases](https://github.com/dotnet/msbuild/releases)._

## 18.4.0

## What's Changed
* Fix terminal logger quiet mode to show project context for
warnings/errors by @​Copilot in
dotnet/msbuild#12930
* Replace OpenTelemetry with Microsoft.VisualStudio.Telemetry for VS by
@​YuliiaKovalova in dotnet/msbuild#12843
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13050856 by @​dotnet-bot in
dotnet/msbuild#12982
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#12979
* eliminate test data serialization warnings by @​JanProvaznik in
dotnet/msbuild#12983
* Add the feature flag that allows users to opt out automatic UTF8
console encoding by @​GangWang01 in
dotnet/msbuild#12637
* Polyfill clean up and source package organization by @​DustinCampbell
in dotnet/msbuild#12977
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13052367 by @​dotnet-bot in
dotnet/msbuild#12984
* Add documentation for enabling binlog collection via env var by
@​YuliiaKovalova in dotnet/msbuild#12805
* Support multiple binary logs from command line arguments by @​Copilot
in dotnet/msbuild#12706
* Add VcxprojReader.exe to ngenApplications by @​YuliiaKovalova in
dotnet/msbuild#12986
* Add HostServices support in Out-of-Process Task Host by
@​YuliiaKovalova in dotnet/msbuild#12753
* [main] Update dependencies from dotnet/roslyn by @​dotnet-maestro[bot]
in dotnet/msbuild#13002
* [main] Update dependencies from dotnet/arcade by @​dotnet-maestro[bot]
in dotnet/msbuild#13000
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13078382 by @​dotnet-bot in
dotnet/msbuild#13003
* Add telemetry tracking for task factory names and runtime usage by
@​Copilot in dotnet/msbuild#12989
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#12987
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13079827 by @​dotnet-bot in
dotnet/msbuild#13010
* Snap for VS 18.3 and update branding to VS 18.4 by @​Copilot in
dotnet/msbuild#13005
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#13012
* Add telemetry to categorize build failure reasons by @​Copilot in
dotnet/msbuild#13007
* Update MicrosoftBuildVersion in analyzer template by
@​github-actions[bot] in dotnet/msbuild#13011
* Update OptProf drop metadata configuration by @​YuliiaKovalova in
dotnet/msbuild#13020
* Fix MSB1025 error when using DistributedFileLogger (-dfl flag) by
@​Copilot in dotnet/msbuild#13036
* CmdLine parsing was extracted from XMake and the implementation is
visible to dotnet (attempt 2) by @​MichalPavlik in
dotnet/msbuild#12836
* Make task environment path absolutization not throw. by @​AR-May in
dotnet/msbuild#13035
* Fix flaky test TestTerminalLoggerTogetherWithOtherLoggers by @​Copilot
in dotnet/msbuild#13044
* Enlighten more tasks that require no change by @​AR-May in
dotnet/msbuild#13045
* [main] Update dependencies from dotnet/roslyn by @​dotnet-maestro[bot]
in dotnet/msbuild#13050
* [main] Update dependencies from dotnet/arcade by @​dotnet-maestro[bot]
in dotnet/msbuild#13048
* Add support for MSBUILD_LOGGING_ARGS by @​YuliiaKovalova in
dotnet/msbuild#12993
* Fix MSBuildEventSource by @​dfederm in
dotnet/msbuild#13030
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13124182 by @​dotnet-bot in
dotnet/msbuild#13053
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#13031
* Add incrementality tracking support and more detailed analysis of the
build errors reported by @​YuliiaKovalova in
dotnet/msbuild#13057
* [automated] Merge branch 'vs18.3' => 'main' by @​github-actions[bot]
in dotnet/msbuild#13055
* Enable com support for clr4 in task host by @​YuliiaKovalova in
dotnet/msbuild#13033
* Add 'rel/d18.3' to insertion target branch options by @​ViktorHofer in
dotnet/msbuild#13067
* add OriginalValue property to AbsolutePath by @​JanProvaznik in
dotnet/msbuild#13077
* [automated] Merge branch 'vs18.3' => 'main' by @​github-actions[bot]
in dotnet/msbuild#13074
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13137486 by @​dotnet-bot in
dotnet/msbuild#13075
* Refactor FileUtilities.cs and add methods for absolute paths. by
@​AR-May in dotnet/msbuild#13079
* Limit extended flag usage to NET and CLR4 runtimes by @​YuliiaKovalova
in dotnet/msbuild#13080
* [main] Update dependencies from nuget/nuget.client by
@​dotnet-maestro[bot] in dotnet/msbuild#13065
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13137926 by @​dotnet-bot in
dotnet/msbuild#13081
* Update to 10.0.1 references by @​rainersigwald in
dotnet/msbuild#13072
* Undo COM support in out of proc task host CLR4 by @​YuliiaKovalova in
dotnet/msbuild#13089
* Add Managed Identity for bootstrapper creation by @​rainersigwald in
dotnet/msbuild#13092
* Add warning MSB4280 when DOTNET_HOST_PATH is set to a directory by
@​Copilot in dotnet/msbuild#13091
 ... (truncated)

Commits viewable in [compare
view](dotnet/msbuild@v18.3.3...v18.4.0).
</details>

Updated
[Microsoft.Build.Utilities.Core](https://github.com/dotnet/msbuild) from
18.3.3 to 18.4.0.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.Build.Utilities.Core's
releases](https://github.com/dotnet/msbuild/releases)._

## 18.4.0

## What's Changed
* Fix terminal logger quiet mode to show project context for
warnings/errors by @​Copilot in
dotnet/msbuild#12930
* Replace OpenTelemetry with Microsoft.VisualStudio.Telemetry for VS by
@​YuliiaKovalova in dotnet/msbuild#12843
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13050856 by @​dotnet-bot in
dotnet/msbuild#12982
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#12979
* eliminate test data serialization warnings by @​JanProvaznik in
dotnet/msbuild#12983
* Add the feature flag that allows users to opt out automatic UTF8
console encoding by @​GangWang01 in
dotnet/msbuild#12637
* Polyfill clean up and source package organization by @​DustinCampbell
in dotnet/msbuild#12977
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13052367 by @​dotnet-bot in
dotnet/msbuild#12984
* Add documentation for enabling binlog collection via env var by
@​YuliiaKovalova in dotnet/msbuild#12805
* Support multiple binary logs from command line arguments by @​Copilot
in dotnet/msbuild#12706
* Add VcxprojReader.exe to ngenApplications by @​YuliiaKovalova in
dotnet/msbuild#12986
* Add HostServices support in Out-of-Process Task Host by
@​YuliiaKovalova in dotnet/msbuild#12753
* [main] Update dependencies from dotnet/roslyn by @​dotnet-maestro[bot]
in dotnet/msbuild#13002
* [main] Update dependencies from dotnet/arcade by @​dotnet-maestro[bot]
in dotnet/msbuild#13000
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13078382 by @​dotnet-bot in
dotnet/msbuild#13003
* Add telemetry tracking for task factory names and runtime usage by
@​Copilot in dotnet/msbuild#12989
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#12987
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13079827 by @​dotnet-bot in
dotnet/msbuild#13010
* Snap for VS 18.3 and update branding to VS 18.4 by @​Copilot in
dotnet/msbuild#13005
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#13012
* Add telemetry to categorize build failure reasons by @​Copilot in
dotnet/msbuild#13007
* Update MicrosoftBuildVersion in analyzer template by
@​github-actions[bot] in dotnet/msbuild#13011
* Update OptProf drop metadata configuration by @​YuliiaKovalova in
dotnet/msbuild#13020
* Fix MSB1025 error when using DistributedFileLogger (-dfl flag) by
@​Copilot in dotnet/msbuild#13036
* CmdLine parsing was extracted from XMake and the implementation is
visible to dotnet (attempt 2) by @​MichalPavlik in
dotnet/msbuild#12836
* Make task environment path absolutization not throw. by @​AR-May in
dotnet/msbuild#13035
* Fix flaky test TestTerminalLoggerTogetherWithOtherLoggers by @​Copilot
in dotnet/msbuild#13044
* Enlighten more tasks that require no change by @​AR-May in
dotnet/msbuild#13045
* [main] Update dependencies from dotnet/roslyn by @​dotnet-maestro[bot]
in dotnet/msbuild#13050
* [main] Update dependencies from dotnet/arcade by @​dotnet-maestro[bot]
in dotnet/msbuild#13048
* Add support for MSBUILD_LOGGING_ARGS by @​YuliiaKovalova in
dotnet/msbuild#12993
* Fix MSBuildEventSource by @​dfederm in
dotnet/msbuild#13030
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13124182 by @​dotnet-bot in
dotnet/msbuild#13053
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in dotnet/msbuild#13031
* Add incrementality tracking support and more detailed analysis of the
build errors reported by @​YuliiaKovalova in
dotnet/msbuild#13057
* [automated] Merge branch 'vs18.3' => 'main' by @​github-actions[bot]
in dotnet/msbuild#13055
* Enable com support for clr4 in task host by @​YuliiaKovalova in
dotnet/msbuild#13033
* Add 'rel/d18.3' to insertion target branch options by @​ViktorHofer in
dotnet/msbuild#13067
* add OriginalValue property to AbsolutePath by @​JanProvaznik in
dotnet/msbuild#13077
* [automated] Merge branch 'vs18.3' => 'main' by @​github-actions[bot]
in dotnet/msbuild#13074
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13137486 by @​dotnet-bot in
dotnet/msbuild#13075
* Refactor FileUtilities.cs and add methods for absolute paths. by
@​AR-May in dotnet/msbuild#13079
* Limit extended flag usage to NET and CLR4 runtimes by @​YuliiaKovalova
in dotnet/msbuild#13080
* [main] Update dependencies from nuget/nuget.client by
@​dotnet-maestro[bot] in dotnet/msbuild#13065
* Localized file check-in by OneLocBuild Task: Build definition ID 9434:
Build ID 13137926 by @​dotnet-bot in
dotnet/msbuild#13081
* Update to 10.0.1 references by @​rainersigwald in
dotnet/msbuild#13072
* Undo COM support in out of proc task host CLR4 by @​YuliiaKovalova in
dotnet/msbuild#13089
* Add Managed Identity for bootstrapper creation by @​rainersigwald in
dotnet/msbuild#13092
* Add warning MSB4280 when DOTNET_HOST_PATH is set to a directory by
@​Copilot in dotnet/msbuild#13091
 ... (truncated)

Commits viewable in [compare
view](dotnet/msbuild@v18.3.3...v18.4.0).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should MSBuild report a warning if DOTNET_HOST_PATH is set to a directory?

5 participants