Given a hint path has extra new line. On full msbuild it will have warning:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2106,5): warning MSB3246: Resolved file has a bad image, no metada
ta, or is otherwise inaccessible. Illegal characters in path. [C:\work\temp\notNETFrameworkLibrary2\NETFrameworkLibrary.csproj]
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<RestoreAdditionalProjectSources>$(RestoreAdditionalProjectSources);https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json</RestoreAdditionalProjectSources>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.2" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Net.Http">
<HintPath>
C:\work\sdk3\artifacts\tmp\Debug\SimpleNamesWi---6143883E\NETFrameworkLibrary\bin\Debug\net462\NETFrameworkLibrary.dll
</HintPath>
</Reference>
</ItemGroup>
</Project>
Given a hint path has extra new line. On full msbuild it will have warning: