File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 4
4
<PropertyGroup >
5
5
<Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6
6
<_OutputPath >$(MSBuildThisFileDirectory)bin\Build$(Configuration)\</_OutputPath >
7
- <GenerateAssemblyInfo >false </GenerateAssemblyInfo >
7
+ <GenerateAssemblyInfo >true </GenerateAssemblyInfo >
8
8
</PropertyGroup >
9
9
10
10
<PropertyGroup >
87
87
<PropertyGroup >
88
88
<GitDefaultBranch >main</GitDefaultBranch >
89
89
<GitThisAssemblyMetadata >false</GitThisAssemblyMetadata >
90
+ <GitThisAssembly >false</GitThisAssembly >
91
+ <DefineConstants >$(DefineConstants)</DefineConstants >
90
92
</PropertyGroup >
91
93
<ItemGroup >
92
94
<PackageReference Include =" GitInfo" Version =" *" PrivateAssets =" all" />
Original file line number Diff line number Diff line change 1
1
<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
2
- <ItemGroup >
2
+ <!-- < ItemGroup>
3
3
<Compile Include="$(MSBuildThisFileDirectory)AssemblyVersionInfo.cs" />
4
- </ItemGroup >
4
+ </ItemGroup> -->
5
+ <PropertyGroup >
6
+ <Company >Microsoft Corporation</Company >
7
+ <Copyright >Microsoft Corporation</Copyright >
8
+ <Trademark >Microsoft Corporation</Trademark >
9
+ <Version >$(GitBaseVersionMajor).$(GitBaseVersionMinor).$(GitBaseVersionPatch)</Version >
10
+ <InformationalVersion >$(GitBaseVersionMajor).$(GitBaseVersionMinor).$(GitBaseVersionPatch); git-rev-head: $(GitCommit) git-branch: $(GitBranch)</InformationalVersion >
11
+ </PropertyGroup >
5
12
</Project >
You can’t perform that action at this time.
0 commit comments