mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +01:00
Added VersionNumber macro back to project
This commit is contained in:
parent
ecc82de0c7
commit
5f0557123c
@ -448,7 +448,19 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup />
|
<ItemGroup />
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
<Target Name="PostBuildMacros">
|
||||||
|
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
|
||||||
|
<Output TaskParameter="Assemblies" ItemName="Targets" />
|
||||||
|
</GetAssemblyIdentity>
|
||||||
|
<ItemGroup>
|
||||||
|
<VersionNumber Include="$([System.Text.RegularExpressions.Regex]::Replace("%(Targets.Version)", "^(.+?)(\.0+)$", "$1"))" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Target>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<PostBuildEventDependsOn>
|
||||||
|
$(PostBuildEventDependsOn);
|
||||||
|
PostBuildMacros;
|
||||||
|
</PostBuildEventDependsOn>
|
||||||
<PostBuildEvent>rem Copy compiled l18n assemblies to alt folder
|
<PostBuildEvent>rem Copy compiled l18n assemblies to alt folder
|
||||||
GOTO END
|
GOTO END
|
||||||
if not exist $(TargetDir)Lang mkdir $(TargetDir)Lang
|
if not exist $(TargetDir)Lang mkdir $(TargetDir)Lang
|
||||||
|
Loading…
Reference in New Issue
Block a user