aboutsummaryrefslogtreecommitdiffstats
path: root/src/qtvstest/QtVsTest.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtvstest/QtVsTest.csproj')
-rw-r--r--src/qtvstest/QtVsTest.csproj42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/qtvstest/QtVsTest.csproj b/src/qtvstest/QtVsTest.csproj
index af5b2d0b..063ad75d 100644
--- a/src/qtvstest/QtVsTest.csproj
+++ b/src/qtvstest/QtVsTest.csproj
@@ -67,6 +67,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
+ <PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -117,4 +118,45 @@ namespace MSBuild.MetaInfo {
<Name>QtVsTools.RegExpr</Name>
</ProjectReference>
</ItemGroup>
+
+ <Choose>
+ <When Condition="Exists('$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.17763.0')">
+ <PropertyGroup>
+ <Win10SDKPath>$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.17763.0</Win10SDKPath>
+ </PropertyGroup>
+ </When>
+ <When Condition="Exists('$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.17134.0')">
+ <PropertyGroup>
+ <Win10SDKPath>$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.17134.0</Win10SDKPath>
+ </PropertyGroup>
+ </When>
+ <When Condition="Exists('$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.16299.15')">
+ <PropertyGroup>
+ <Win10SDKPath>$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.16299.15</Win10SDKPath>
+ </PropertyGroup>
+ </When>
+ <When Condition="Exists('$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.15063.0')">
+ <PropertyGroup>
+ <Win10SDKPath>$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.15063.0</Win10SDKPath>
+ </PropertyGroup>
+ </When>
+ </Choose>
+
+ <PropertyGroup Condition="'$(Win10SDKPath)' != ''">
+ <UIAVerifyPath>$(Win10SDKPath)\x86\UIAVerify</UIAVerifyPath>
+ </PropertyGroup>
+
+ <ItemGroup Condition="'$(UIAVerifyPath)' != ''">
+ <Reference Include="Interop.UIAutomationClient">
+ <HintPath>$(UIAVerifyPath)\Interop.UIAutomationClient.dll</HintPath>
+ <SpecificVersion>False</SpecificVersion>
+ <EmbedInteropTypes>False</EmbedInteropTypes>
+ </Reference>
+ <Reference Include="UIAComWrapper">
+ <HintPath>$(UIAVerifyPath)\UIAComWrapper.dll</HintPath>
+ <Private>True</Private>
+ <Aliases>global</Aliases>
+ <EmbedInteropTypes>False</EmbedInteropTypes>
+ </Reference>
+ </ItemGroup>
</Project> \ No newline at end of file