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

Fix issue with C# projects referencing F# projects #1005

Merged
merged 1 commit into from
Nov 4, 2017

Conversation

DustinCampbell
Copy link
Contributor

Fixes dotnet/vscode-csharp#371 and dotnet/vscode-csharp#1829

This fixes a long-standing problem where C# projects would attempt to load project references
to non-C# projects. This is related to the problem on not adding file references for C# project references
to avoid duplicate references. Now, we're a bit more selective when we decide to throw out a project or file
reference: We check the file path and see if it ends with ".csproj".

I'll be porting this change into #1003 as well.

This fixes a long-standing problem where C# projects would attempt to load project references
to non-C# projects. This is related to the problem on not adding file references for C# project references
to avoid duplicate references. Now, we're a bit more selective when we decide to throw out a project or file
reference: We check the file path and see if it ends with ".csproj".
@DustinCampbell
Copy link
Contributor Author

cc @NinoFloris as FYI

@DustinCampbell
Copy link
Contributor Author

I'm going to go ahead and merge this one. I don't think the change is controversial, but let me know if you have any concerns. However, I want to merge this and produce a new OmniSharp release with bug fixes (1.26.1) so @david-driscoll can merge his LSP branch.

@DustinCampbell DustinCampbell merged commit 925e4e7 into OmniSharp:master Nov 4, 2017
@DustinCampbell DustinCampbell deleted the fix-fsharp-issue branch April 11, 2018 21:12
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.

Errors when building solution which contains both C# .csproj and F# .fsproj projects.
1 participant