File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed
src/GitVersion.MsBuild/msbuild/tools Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 108
108
<Output TaskParameter =" GitVersionInformationFilePath" PropertyName =" GitVersionInformationFilePath" />
109
109
</GenerateGitVersionInformation >
110
110
<!-- <Message Importance="High" Text="Info: $(GitVersionInformationFilePath)" /> -->
111
-
112
- <ItemGroup Condition =" '$(Language)' == 'F#'" >
113
- <CompileBefore Include =" $(GitVersionInformationFilePath)" />
114
- </ItemGroup >
115
- <ItemGroup Condition =" '$(Language)' != 'F#'" >
116
- <Compile Include =" $(GitVersionInformationFilePath)" />
117
- </ItemGroup >
118
111
<ItemGroup >
112
+ <CompileBefore Include =" $(GitVersionInformationFilePath)" Condition =" '$(Language)' == 'F#' " />
113
+ <Compile Include =" $(GitVersionInformationFilePath)" Condition =" '$(Language)' == 'C#' Or '$(Language)' == 'VB' " />
119
114
<FileWrites Include =" $(GitVersionInformationFilePath)" />
120
115
<_GeneratedCodeFiles Include =" $(GitVersionInformationFilePath)" />
121
116
</ItemGroup >
133
128
<Output TaskParameter =" AssemblyInfoTempFilePath" PropertyName =" AssemblyInfoTempFilePath" />
134
129
</UpdateAssemblyInfo >
135
130
<!-- <Message Importance="High" Text="Assembly: $(AssemblyInfoTempFilePath)" /> -->
136
- <ItemGroup Condition =" '$(Language)' == 'F#'" >
137
- <CompileBefore Include =" $(AssemblyInfoTempFilePath)" />
138
- </ItemGroup >
139
- <ItemGroup Condition =" '$(Language)' != 'F#'" >
140
- <Compile Include =" $(AssemblyInfoTempFilePath)" />
141
- </ItemGroup >
142
131
<ItemGroup >
132
+ <CompileBefore Include =" $(AssemblyInfoTempFilePath)" Condition =" '$(Language)' == 'F#' " />
133
+ <Compile Include =" $(AssemblyInfoTempFilePath)" Condition =" '$(Language)' == 'C#' Or '$(Language)' == 'VB' " />
143
134
<FileWrites Include =" $(AssemblyInfoTempFilePath)" />
144
135
<_GeneratedCodeFiles Include =" $(AssemblyInfoTempFilePath)" />
145
136
</ItemGroup >
You can’t perform that action at this time.
0 commit comments