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

added msbuild:UseBundledOnly option to force the usage of bundled MSBuild #2038

Merged
merged 5 commits into from
Dec 15, 2020

Conversation

filipw
Copy link
Member

@filipw filipw commented Dec 12, 2020

At the moment there is no way to force bundled MSBuild on Windows.
On Linux/Mac it is possible in VS Code using omnisharp.useGlobalMono: never but it is a client specific option, not a universal server option for all clients.

What this PR introduces is the following setting to omnisharp.json

{
   "msbuild": {
       "useBundledOnly": true
   }
}

The effect is:

  • on Windows, no Visual Studio / MSBuild Tools MSBuild is discovered anymore - only the bundled MSBuild is used
  • on Linux/Mac, regardless whether running on global or local Mono - only the bundled MSBuild is used

This should unblock scenarios when:

  • user has outdated Visual Studio
  • user wants to run on global Mono but using the bundled MSBuild

Both of those have been repeated in multiple issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants