File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 40
40
Ensure GetVersion runs prior to XAML's Markup Compiler in order to have the assembly version available.
41
41
Otherwise the generated resource URI's are ambiguous when multiple versions are loaded simultaneously (i.e. in plugins)
42
42
-->
43
- <MarkupCompilePass1DependsOn >$(MarkupCompilePass1DependsOn);GetVersion</MarkupCompilePass1DependsOn >
43
+ <MarkupCompilePass1DependsOn >$(MarkupCompilePass1DependsOn);GetVersion;UpdateAssemblyInfo;GenerateGitVersionInformation </MarkupCompilePass1DependsOn >
44
44
<GetPackageVersionDependsOn >$(GetPackageVersionDependsOn);GetVersion</GetPackageVersionDependsOn >
45
45
46
46
<!-- Property that enables setting of Version -->
Original file line number Diff line number Diff line change 30
30
31
31
<ItemGroup Condition =" '$(Language)' == 'F#'" >
32
32
<CompileBefore Include =" $(AssemblyInfoTempFilePath)" />
33
+ <FileWrites Include =" $(AssemblyInfoTempFilePath)" />
34
+ <_GeneratedCodeFiles Include =" $(AssemblyInfoTempFilePath)" />
33
35
</ItemGroup >
34
36
<ItemGroup Condition =" '$(Language)' != 'F#'" >
35
37
<Compile Include =" $(AssemblyInfoTempFilePath)" />
38
+ <FileWrites Include =" $(AssemblyInfoTempFilePath)" />
39
+ <_GeneratedCodeFiles Include =" $(AssemblyInfoTempFilePath)" />
36
40
</ItemGroup >
37
41
38
42
</Target >
53
57
<ItemGroup Condition =" '$(Language)' == 'F#'" >
54
58
<CompileBefore Include =" $(GitVersionInformationFilePath)" />
55
59
<FileWrites Include =" $(GitVersionInformationFilePath)" />
60
+ <_GeneratedCodeFiles Include =" $(GitVersionInformationFilePath)" />
56
61
</ItemGroup >
57
62
<ItemGroup Condition =" '$(Language)' != 'F#'" >
58
63
<Compile Include =" $(GitVersionInformationFilePath)" />
59
64
<FileWrites Include =" $(GitVersionInformationFilePath)" />
65
+ <_GeneratedCodeFiles Include =" $(GitVersionInformationFilePath)" />
60
66
</ItemGroup >
61
67
</Target >
62
68
You can’t perform that action at this time.
0 commit comments