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

Add support for using Mono to load .NET Framework projects #70263

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

jasonmalinowski
Copy link
Member

@jasonmalinowski jasonmalinowski commented Oct 5, 2023

We'll use this on Mac and Linux; we already had equivalent support on Windows. MonoMSBuildDiscovery.cs is largely a copy of the code from these paths, with some tweaks to remove Omnisharp scenarios that don't apply for us.

Closes dotnet/vscode-csharp#5721

@jasonmalinowski jasonmalinowski self-assigned this Oct 5, 2023
@jasonmalinowski jasonmalinowski requested a review from a team as a code owner October 5, 2023 23:50
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Oct 5, 2023
@jasonmalinowski jasonmalinowski force-pushed the add-mono-support branch 2 times, most recently from da9b392 to 9b0e7f1 Compare October 5, 2023 23:55
}
else
{
_logger.LogCritical("No compatible MSBuild instance could be found.");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of preferred how it was before where we would explicitly return false in all the failure cases. IMHO made it a bit easier to read.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got too scared that we'd have a place where we returned true but forgot to call register or vice versa.

@jasonmalinowski jasonmalinowski merged commit 07f809a into dotnet:main Oct 12, 2023
24 checks passed
@jasonmalinowski jasonmalinowski deleted the add-mono-support branch October 12, 2023 05:11
@ghost ghost added this to the Next milestone Oct 12, 2023
@jjonescz jjonescz modified the milestones: Next, 17.9 P1 Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[O# Parity] Project loading support for projects running on Mono
3 participants