# Single-name references are removed by the SDK when targeting .NET Framework 4.7.2 and referencing a package with the same assembly. ## Symptoms When a project targets .NET Framework 4.7.2 and references an assembly with both a single name reference and a package reference (either an explicit or a transitive package reference), the assembly is not passed as a reference to the compiler, causing build-time errors for types that are not found. An example of a build error caused by this issue is: ``` error CS0246: The type or namespace name 'HttpClient' could not be found (are you missing a using directive or an assembly reference?) ``` Candidate assemblies that might run into this issue are `System.Diagnostics.Tracing.dll`, `System.IO.Compression.dll`, and `System.Net.Http.dll`. This issue only happens when the project uses the ` All ``` ## Resolution A proper fix in the MSBuild SDK will ship in the coming versions of Visual Studio. This known issue will be updated with more details when that happens.