Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable MSBuild building without 3.5 SP1 targeting pack installed. #5621

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

KirillOsenkov
Copy link
Member

Fixes #5620.

Unfortunately the Microsoft.NETFramework.ReferencesAssemblies does not include net35, so we're using https://www.nuget.org/packages/jnm2.ReferenceAssemblies.net35 combined with a workaround to bypass looking for System.Data.Entity.dll 3.5.0.0 in the GAC.

Fixes dotnet#5620.

Unfortunately the Microsoft.NETFramework.ReferencesAssemblies does not include net35, so we're using https://www.nuget.org/packages/jnm2.ReferenceAssemblies.net35 combined with a workaround to bypass looking for System.Data.Entity.dll 3.5.0.0 in the GAC.
@KirillOsenkov
Copy link
Member Author

@jnm2 FYI, also thanks for saving the day.

@jnm2
Copy link

jnm2 commented Aug 7, 2020

@KirillOsenkov msbuildlog.com saved my day a hundred times, so I'm just glad to be able to make a dent in the opposite direction 😊

@Forgind Forgind added the merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now. label Aug 7, 2020
@benvillalobos
Copy link
Member

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@benvillalobos
Copy link
Member

Closing to reopen and trigger a CI build. See #5646

@benvillalobos benvillalobos reopened this Aug 10, 2020
@Forgind Forgind merged commit 96b078a into dotnet:master Aug 10, 2020
@KirillOsenkov KirillOsenkov deleted the dev/kirillo/fix5620 branch August 10, 2020 21:28
Forgind pushed a commit that referenced this pull request Feb 9, 2021
…6129)

Fixes #6084

Context
As a dependency of MSBuildTaskHost, StringTools is built for .NET 3.5, in addition to modern .NET Framework and .NET Core.

Changes Made
Made the project built on machines without the 3.5 targeting pack installed by setting BypassFrameworkInstallChecks, same as #5621.

Testing
Successfully built MSBuild on a clean VM without any 3.5 bits installed.

Notes
Thank you @KirillOsenkov Kirill Osenkov FTE for spotting this and suggesting the fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MSBuild repo doesn't build without 3.5 SP1 Targeting Pack
4 participants