Skip to content

Commit

Permalink
Merge pull request #873 from DustinCampbell/fix-unity
Browse files Browse the repository at this point in the history
Ensure that the MSBuild project system adds projects with the .csproj extension, even if they have a different GUID
  • Loading branch information
DustinCampbell authored May 25, 2017
2 parents 81c790b + 7d1dd37 commit beb61b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/OmniSharp.MSBuild/MSBuildProjectSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ private IEnumerable<string> GetProjectPathsFromSolution(string solutionFilePath)
continue;
}

if (project.Kind == ProjectKind.CSharpProject)
if (project.Kind == ProjectKind.CSharpProject ||
string.Equals(Path.GetExtension(projectFilePath), ".csproj", StringComparison.OrdinalIgnoreCase))
{
result.Add(projectFilePath);
}
Expand Down

0 comments on commit beb61b8

Please sign in to comment.