2017-08-27 06:24:03 +03:00
|
|
|
<Project>
|
2017-09-21 16:49:09 +03:00
|
|
|
<Choose>
|
2019-02-08 01:32:56 +03:00
|
|
|
<When Condition="'$(TargetFramework)' == 'uap10.0' or '$(TargetFramework)' == 'uap10.0.16299' or '$(TargetFramework)' == 'native' or '$(TargetFramework)' == 'net461'">
|
2017-09-21 16:49:09 +03:00
|
|
|
<!-- UAP versions for uap10.0 where TPMV isn't implied -->
|
|
|
|
<PropertyGroup>
|
|
|
|
<TargetPlatformVersion>10.0.$(DefaultTargetPlatformVersion).0</TargetPlatformVersion>
|
|
|
|
<TargetPlatformMinVersion>10.0.$(DefaultTargetPlatformMinVersion).0</TargetPlatformMinVersion>
|
2020-05-28 06:23:41 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(DebugType)' == ''">
|
|
|
|
<DebugType>Portable</DebugType>
|
2017-09-21 16:49:09 +03:00
|
|
|
</PropertyGroup>
|
2017-08-27 06:24:03 +03:00
|
|
|
|
2017-09-21 16:49:09 +03:00
|
|
|
<ItemGroup>
|
|
|
|
<SDKReference Condition="'$(UseWindowsDesktopSdk)' == 'true' " Include="WindowsDesktop, Version=$(TargetPlatformVersion)">
|
|
|
|
<Name>Windows Desktop Extensions for the UWP</Name>
|
|
|
|
</SDKReference>
|
|
|
|
<SDKReference Condition="'$(UseWindowsMobileSdk)' == 'true' " Include="WindowsMobile, Version=$(TargetPlatformVersion)">
|
|
|
|
<Name>Windows Mobile Extensions for the UWP</Name>
|
|
|
|
</SDKReference>
|
|
|
|
</ItemGroup>
|
|
|
|
</When>
|
|
|
|
</Choose>
|
2017-08-27 21:22:56 +03:00
|
|
|
|
2018-06-07 23:49:46 +03:00
|
|
|
<Target Name="AddCommitHashToAssemblyAttributes" BeforeTargets="GetAssemblyAttributes">
|
2018-06-07 23:47:39 +03:00
|
|
|
<ItemGroup>
|
|
|
|
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute" Condition=" '$(SourceRevisionId)' != '' ">
|
|
|
|
<_Parameter1>CommitHash</_Parameter1>
|
|
|
|
<_Parameter2>$(SourceRevisionId)</_Parameter2>
|
|
|
|
</AssemblyAttribute>
|
|
|
|
</ItemGroup>
|
|
|
|
</Target>
|
2017-08-27 06:24:03 +03:00
|
|
|
</Project>
|