MSBuild repo doesn't build without 3.5 SP1 Targeting Pack #5620
Labels
Area: Our Own Build
Problems affecting the build or build infrastructure of the MSBuild repo itself.
Area: Tasks
Issues impacting the tasks shipped in Microsoft.Build.Tasks.Core.dll.
bug
needs-triage
Have yet to determine what bucket this goes in.
Task: Resolve Assembly References (RAR)
On a clean Windows machine with VS 2019 16.6 where 3.5 SP1 targeting pack was never installed, this very MSBuild repo fails to build with:
When trying to add https://www.nuget.org/packages/Microsoft.NETFramework.ReferenceAssemblies/1.0.0 I've found out that it omits net35 from the list of frameworks it supports. See dotnet/installer#2022 for details.
Fortunately, our friend @jnm2 went out of his way to fill this gap and created this awesome package: https://www.nuget.org/packages/jnm2.ReferenceAssemblies.net35
However I found that it still doesn't work because of this check that checks for the "sentinel" System.Data.Entity.dll being installed in the GAC:
msbuild/src/Tasks/GetReferenceAssemblyPaths.cs
Lines 160 to 183 in e8c17c1
The text was updated successfully, but these errors were encountered: