Skip to content

Commit

Permalink
Removed setting Language=C# from GitVersion.MsBuild.props
Browse files Browse the repository at this point in the history
Resolves #3654.

Rationale: GitVersion should not force C# language for projects that aren't C#, such as F# or generic *.msbuildproject.
  • Loading branch information
abatishchev committed Sep 28, 2023
1 parent f46d84c commit 8318dd4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<PropertyGroup>
<GitVersionOutputFile Condition="'$(GitVersionOutputFile)' == ''">$([MSBuild]::EnsureTrailingSlash($(BaseIntermediateOutputPath)))gitversion.json</GitVersionOutputFile>

<Language Condition=" '$(Language)' == '' Or '$(DefaultLanguageSourceExtension)' == ''">C#</Language>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)/../</SolutionDir>
<GitVersionPath Condition="'$(GitVersionPath)' == '' And '$(GitVersionUseSolutionDir)' == 'true'">$(SolutionDir)</GitVersionPath>
<GitVersionPath Condition="'$(GitVersionPath)' == ''">$(MSBuildProjectDirectory)</GitVersionPath>
Expand Down

0 comments on commit 8318dd4

Please sign in to comment.