Skip to content

Commit

Permalink
Check with '.csproj' extension with case-insensitive match
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinCampbell committed May 25, 2017
1 parent ef6d54f commit 7d1dd37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OmniSharp.MSBuild/MSBuildProjectSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private IEnumerable<string> GetProjectPathsFromSolution(string solutionFilePath)
}

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

0 comments on commit 7d1dd37

Please sign in to comment.