dotnet / dotnet/msbuild

MSB4186 could be way more specific

Open
#11,782 0 comments 1 reaction 2 assignees Claimed by @ViktorHofer View on GitHub
Area: Debuggability backlog Priority:3 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Inspired by https://github.com/dotnet/dotnet/pull/333#issuecomment-2846428835

In this case, what happened was that some nested property functions came out with different result types because of a changed build-input global property. But the error was reported only at the top level, and nothing in that line had changed recently, so it took expert debugging time to root-cause.

It would be nicer if the error mentioned the types resolved and the types available for a specific method, if knowable.

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.