dotnet / dotnet/project-system

Visual Studio should support an option for setting FailOnUnresolvedSdk for the project load behavior

Open
#8,334 1 comment 0 reactions 0 assignees View on GitHub
Partner-Request-MSBuild Tenet-User Friendly Triage-Investigate
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

## Summary

There's an MSBuild open to fail on unresolved sdks (FailOnUnresolvedSdk), which is not available in Visual Studio. We want the ability to set that for our environments so that VS will not continue attempting to load projects when failing to resolve the SDK.

## User Impact

Continued load attempts without having the SDK causes problems for developers in our org on subsequent builds after resolving the SDK lookup issues, as it writes (potentially duplicated) output into the src tree as well as potentially emptying lock files (due to not loading centralized versioning options). Being able to fail out immediate when there is a failure to resolve the defined SDKs will mitigate those issues.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.