Skip to content

When analysing .NET framework projects, which version of MSBuild do I need? #71530

Closed Answered by jasonmalinowski
FBryant87 asked this question in Q&A
Discussion options

You must be logged in to vote

Try upgrading to the 4.9.0-2.final NuGet packages, which remove the need to use MSBuildLocator; we'll do the extra work for you behind the scenes.

The reason why this wouldn't have worked is because there's limitations where the .NET Core MSBuilds can't be loaded in to a .NET Framework process or vice versa -- so your .NET Core app can't use the VS one. The changes in our new packages mean we'll actually launch a separate process behind the scenes to make this all work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FBryant87
Comment options

Answer selected by jasonmalinowski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants