File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 25
25
<Output TaskParameter =" AssemblyInfoTempFilePath" PropertyName =" AssemblyInfoTempFilePath" />
26
26
</UpdateAssemblyInfo >
27
27
28
- <ItemGroup >
28
+ <ItemGroup Condition =" '$(Language)' == 'F#'" >
29
+ <CompileBefore Include =" $(AssemblyInfoTempFilePath)" />
30
+ </ItemGroup >
31
+ <ItemGroup Condition =" '$(Language)' != 'F#'" >
29
32
<Compile Include =" $(AssemblyInfoTempFilePath)" />
30
33
</ItemGroup >
31
34
44
47
<Output TaskParameter =" GitVersionInformationFilePath" PropertyName =" GitVersionInformationFilePath" />
45
48
</GenerateGitVersionInformation >
46
49
47
- <ItemGroup >
50
+ <ItemGroup Condition =" '$(Language)' == 'F#'" >
51
+ <CompileBefore Include =" $(GitVersionInformationFilePath)" />
52
+ <FileWrites Include =" $(GitVersionInformationFilePath)" />
53
+ </ItemGroup >
54
+ <ItemGroup Condition =" '$(Language)' != 'F#'" >
48
55
<Compile Include =" $(GitVersionInformationFilePath)" />
49
56
<FileWrites Include =" $(GitVersionInformationFilePath)" />
50
57
</ItemGroup >
51
-
52
58
</Target >
53
59
54
- <Target Name =" GetVersion" BeforeTargets =" CoreCompile;GetAssemblyVersion;GenerateNuspec;_GenerateRestoreProjectSpec;_GetOutputItemsFromPack;EnsureWixToolsetInstalled" Condition =" $(GetVersion) == 'true'" >
60
+ <Target Name =" GetVersion" BeforeTargets =" CoreCompile;GetAssemblyVersion;GenerateNuspec;_GenerateRestoreProjectSpec;_GetOutputItemsFromPack;EnsureWixToolsetInstalled" Condition =" $(GetVersion) == 'true'" >
55
61
56
62
<GetVersion SolutionDirectory =" $(GitVersionPath)" ConfigFilePath =" $(GitVersionConfig)" NoFetch =" $(GitVersion_NoFetchEnabled)" >
57
63
<Output TaskParameter =" Major" PropertyName =" GitVersion_Major" />
You can’t perform that action at this time.
0 commit comments