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 GitTools#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 1db2828 commit f196981
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 f196981

Please sign in to comment.