dotnet / dotnet/msbuild

RAR message indicating {RawFileName} is confusing

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

Description

From an issue filed via VS feedback at https://developercommunity.visualstudio.com/content/problem/30724/build-output-rawfilename-value-not-provided.html:

> In detailed build output, when it shows where a reference is found for a given DLL, it says it's found at path location "{RawFileName}". As in, that exact string literal, rather than substituting whatever the RawFileName variable is supposed to be.
>
> Examples can be seen in pretty much every attempt to resolve a reference location, but the raw text of one instance would be:
>
> ```
> 3> Primary reference "System.Console, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
> 3> Resolved file path is "C:\Users\\.nuget\packages\system.console\4.3.0\ref\netstandard1.3\System.Console.dll".
> 3> Reference found at search path location "{RawFileName}".
> 3> Found related file "C:\Users\\.nuget\packages\system.console\4.3.0\ref\netstandard1.3\System.Console.xml".
> 3> This reference is not "CopyLocal" because at least one source item had "Private" set to "false" and no source items had "Private" set to "true".
> 3> The ImageRuntimeVersion for this reference is "v4.0.30319".
> ```

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.