|
|
|
@ -643,10 +643,11 @@ |
|
|
|
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" /> |
|
|
|
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" /> |
|
|
|
</ItemGroup> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
<UpdateAssemblyInfoStamp Include="obj\update-assemblyinfo-last-commit-hash.txt" /> |
|
|
|
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
|
|
<Target Name="ILSpyUpdateAssemblyInfo" BeforeTargets="BeforeBuild"> |
|
|
|
<Target Name="ILSpyUpdateAssemblyInfo" BeforeTargets="BeforeBuild"> |
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
<UpdateAssemblyInfoStamp Include="obj\update-assemblyinfo-last-commit-hash.txt" /> |
|
|
|
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' "> |
|
|
|
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' "> |
|
|
|
<UpdateAssemblyInfo>powershell -NoProfile -ExecutionPolicy Bypass -File BuildTools/update-assemblyinfo.ps1 $(Configuration)</UpdateAssemblyInfo> |
|
|
|
<UpdateAssemblyInfo>powershell -NoProfile -ExecutionPolicy Bypass -File BuildTools/update-assemblyinfo.ps1 $(Configuration)</UpdateAssemblyInfo> |
|
|
|
<GitRevParse>git rev-parse HEAD^^{commit}</GitRevParse> |
|
|
|
<GitRevParse>git rev-parse HEAD^^{commit}</GitRevParse> |
|
|
|
@ -665,4 +666,8 @@ |
|
|
|
<WriteLinesToFile Lines="$(CommitHash)" File="@(UpdateAssemblyInfoStamp)" Overwrite="true" Condition="'$(CommitHash)'!='$(LastCommitHash)'" /> |
|
|
|
<WriteLinesToFile Lines="$(CommitHash)" File="@(UpdateAssemblyInfoStamp)" Overwrite="true" Condition="'$(CommitHash)'!='$(LastCommitHash)'" /> |
|
|
|
</Target> |
|
|
|
</Target> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Target Name="CleanUpdateAssemblyInfo" BeforeTargets="BeforeClean"> |
|
|
|
|
|
|
|
<Delete Files="@(UpdateAssemblyInfoStamp)" /> |
|
|
|
|
|
|
|
</Target> |
|
|
|
|
|
|
|
|
|
|
|
</Project> |
|
|
|
</Project> |
|
|
|
|