Update to newer MSBuild on macOS for .NET6 workload resolver support
See original GitHub issueCurrently on macOS (and presumably Linux) OmniSharp cannot resolve optional workloads in .NET 6.
The version of MSBuild shipping with mono does not have this support (and likely never will). I see that the extension also bundles its own version of MSBuild (which appears to be from VSWin?).
It would be great if this could be updated to align with the MSBuild in VS 16.9 so that the workload resolvers can be enabled to support resolving SDK’s from optional workloads to include additional TFM’s such as net6.0-android and net6.0-ios.
Today, this is achieved by adding a sentinel file to the right location in the SDK, for example:
sdk/6.0.100-preview.1.21103.13/EnableWorkloadResolver.sentinel
You can find more about how to install the SDK workloads for iOS/Android here: https://github.com/dotnet/net6-mobile-samples
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top GitHub Comments
the bundled MSBuild was updated to 16.9 yesterday to match .NET 6 Preview 1 https://github.com/OmniSharp/omnisharp-roslyn/pull/2103
We plan to release a new version of OmniSharp server today
Thanks for the link. I’ve subscribed for any updates