dotnet / dotnet/msbuild

MSB3246 should say *which* file

Open
#3,650 2 comments 6 reactions 0 assignees View on GitHub
Area: Debuggability triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

https://github.com/Microsoft/msbuild/blob/a8fba1ebd7b10ea68fcbdb8144a31496f8c37ce7/src/Tasks/Resources/Strings.resx#L1423-L1424

logged from

https://github.com/Microsoft/msbuild/blob/a8fba1ebd7b10ea68fcbdb8144a31496f8c37ce7/src/Tasks/AssemblyDependency/ResolveAssemblyReference.cs#L1523-L1528

Doesn't name a file, so you have to dig through more information to do anything about it.

Looks like everything in that block should list the reference in its error.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with src/Tasks/Resources/Strings.resx at the MSB3246 message and src/Tasks/AssemblyDependency/ResolveAssemblyReference.cs around lines 1523-1528. Review the surrounding error-message block and update the relevant messages so each includes the reference file; done means the reported error identifies which file is involved.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.