dotnet / dotnet/msbuild

If a HintPath file doesn't exist, fail the build or at least issue a warning

Open
#2,642 1 comment 1 reaction 0 assignees View on GitHub
Feature: Warning Waves triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

When a HintPath on a Reference points to a non-existing file, RAR happily goes on to resolve from other locations, usually picking the wrong version altogether.

If the HintPath metadata was specified and the file didn't exist there, we should at least issue a warning (for compat) or ideally just fail the build (HintPath not found).

Another candidate for a "strict mode" check.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.