dotnet / msbuild

The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
https://docs.microsoft.com/visualstudio/msbuild/msbuild
MIT License
5.23k stars 1.35k forks source link

Consider Adding Assemblies To UnGAC At Install/Repair Time #5955

Open benvillalobos opened 3 years ago

benvillalobos commented 3 years ago

@rainersigwald

there are two distinct copies of System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

One (from NuGet package version 4.5.4) references System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a​​​​​​​

the other (from package 4.5.3) references System.Numerics.Vectors, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

we produced the errors that folks were reporting if we GACed the latter

because MSBuild distributes the former

we should think about adding this to our list of assemblies to silently ungac on VS install 😬

The list so far:

benvillalobos commented 3 years ago

Related issue from System.Memory: https://developercommunity2.visualstudio.com/t/Project-issues-after-1682-update-chil/1263614