dotnet / dotnet/msbuild

DisableMachineWideReferenceSearch setting

Open
#4,403 0 comments 4 reactions 0 assignees View on GitHub
Area: Task: Resolve Assembly References (RAR) Feature: Warning Waves needs-design triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Several settings make it possible to find references (managed assemblies and WinMDs) from machine-wide locations like the Windows directory or the Global Assembly Cache (GAC). This can lead to builds that work on one machine, where a thing is installed, and not on another.

We should have a single flag to enable only explicit locations for reference searches, so that teams can opt into the more explicable behavior.

In addition, we should have a warning-wave warning when that flag is not set.

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.