<?xml version="1.0" encoding="utf-8"?>
|
<!--
|
/****************************************************************************
|
**
|
** Copyright (C) 2021 The Qt Company Ltd.
|
** Contact: https://www.qt.io/licensing/
|
**
|
** This file is part of the Qt VS Tools.
|
**
|
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
|
** Commercial License Usage
|
** Licensees holding valid commercial Qt licenses may use this file in
|
** accordance with the commercial license agreement provided with the
|
** Software or, alternatively, in accordance with the terms contained in
|
** a written agreement between you and The Qt Company. For licensing terms
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
** information use the contact form at https://www.qt.io/contact-us.
|
**
|
** GNU General Public License Usage
|
** Alternatively, this file may be used under the terms of the GNU
|
** General Public License version 3 as published by the Free Software
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
** included in the packaging of this file. Please review the following
|
** information to ensure the GNU General Public License requirements will
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
**
|
** $QT_END_LICENSE$
|
**
|
****************************************************************************/
|
-->
|
<Project ToolsVersion="$(VisualStudioVersion)" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Import Project="$(SolutionDir)\version.targets" />
|
<PropertyGroup>
|
<MinimumVisualStudioVersion>$(VisualStudioVersion)</MinimumVisualStudioVersion>
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
<UseCodebase>true</UseCodebase>
|
</PropertyGroup>
|
<PropertyGroup>
|
<SignAssembly>false</SignAssembly>
|
</PropertyGroup>
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<PropertyGroup>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<SchemaVersion>2.0</SchemaVersion>
|
<OutputType>Library</OutputType>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
<RootNamespace>QtVsTest</RootNamespace>
|
<AssemblyName>QtVsTest</AssemblyName>
|
<ProjectGuid>{48A50432-6BDF-4DE2-A3AD-3A237D31E49D}</ProjectGuid>
|
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
<GeneratePkgDefFile>true</GeneratePkgDefFile>
|
<IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer>
|
<IncludeDebugSymbolsInVSIXContainer>true</IncludeDebugSymbolsInVSIXContainer>
|
<IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment>
|
<CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>
|
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
|
<StartAction>Program</StartAction>
|
<StartProgram Condition="'$(DevEnvDir)' != ''">$(DevEnvDir)devenv.exe</StartProgram>
|
<StartArguments>/rootsuffix Exp</StartArguments>
|
<ApplicationIcon>Resources\QtVsTest.ico</ApplicationIcon>
|
</PropertyGroup>
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<DebugSymbols>true</DebugSymbols>
|
<DebugType>full</DebugType>
|
<Optimize>false</Optimize>
|
<OutputPath>bin\Debug\</OutputPath>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<ErrorReport>prompt</ErrorReport>
|
<WarningLevel>4</WarningLevel>
|
</PropertyGroup>
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<DebugType>pdbonly</DebugType>
|
<Optimize>true</Optimize>
|
<OutputPath>bin\Release\</OutputPath>
|
<DefineConstants>TRACE</DefineConstants>
|
<ErrorReport>prompt</ErrorReport>
|
<WarningLevel>4</WarningLevel>
|
</PropertyGroup>
|
<!--
|
/////////////////////////////////////////////////////////////////////////////////////////////////
|
// Global references
|
// -->
|
<ItemGroup>
|
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
|
<Reference Include="System" />
|
<Reference Include="System.Design" />
|
<Reference Include="System.Drawing" />
|
<Reference Include="Microsoft.VisualStudio.ProjectSystem">
|
<HintPath>$(VsInstallRoot)\Common7\IDE\CommonExtensions\Microsoft\Project\Microsoft.VisualStudio.ProjectSystem.dll</HintPath>
|
</Reference>
|
<Reference Include="Microsoft.VisualStudio.Composition">
|
<HintPath>$(VsInstallRoot)\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.Composition.dll</HintPath>
|
</Reference>
|
</ItemGroup>
|
<!--
|
/////////////////////////////////////////////////////////////////////////////////////////////////
|
// Version specific references
|
// -->
|
<Import Project="$(SolutionDir)\references.props" />
|
<ItemGroup>
|
<PackageReference Include="System.ComponentModel.Composition"
|
Version="$(Version_System_ComponentModel_Composition)" />
|
<PackageReference Include="Stub.System.Data.SQLite.Core.NetFramework"
|
Version="$(Version_Stub_System_Data_SQLite_Core_NetFramework)" />
|
<PackageReference Include="Newtonsoft.Json"
|
Version="$(Version_Newtonsoft_Json)" />
|
<PackageReference Include="Microsoft.Build"
|
Version="$(Version_Microsoft_Build)" />
|
<PackageReference Include="Microsoft.Build.Framework"
|
Version="$(Version_Microsoft_Build_Framework)" />
|
<PackageReference Include="Microsoft.Build.Tasks.Core"
|
Version="$(Version_Microsoft_Build_Tasks_Core)" />
|
<PackageReference Include="Microsoft.VisualStudio.SDK"
|
Version="$(Version_Microsoft_VisualStudio_SDK)" ExcludeAssets="runtime" />
|
<PackageReference Include="Microsoft.VSSDK.BuildTools"
|
Version="$(Version_Microsoft_VSSDK_BuildTools)" />
|
<PackageReference Include="Microsoft.VisualStudio.Shell.Framework"
|
Version="$(Version_Microsoft_VisualStudio_Shell_Framework)" />
|
<PackageReference Include="Microsoft.VisualStudio.Validation"
|
Version="$(Version_Microsoft_VisualStudio_Validation)" />
|
<PackageReference Include="$(Name_Microsoft_VisualStudio_Threading)"
|
Version="$(Version_Microsoft_VisualStudio_Threading)" />
|
<PackageReference Include="System.Collections.Immutable"
|
Version="$(Version_System_Collections_Immutable)" />
|
</ItemGroup>
|
<ItemGroup Condition="'$(VisualStudioVersion)'=='17.0'">
|
<PackageReference Include="$(Name_Microsoft_VisualStudio_VCProjectEngine)"
|
Version="$(Version_Microsoft_VisualStudio_VCProjectEngine)" />
|
</ItemGroup>
|
<ItemGroup Condition="'$(VisualStudioVersion)'=='16.0'">
|
<PackageReference Include="$(Name_Microsoft_VisualStudio_VCProjectEngine)"
|
Version="$(Version_Microsoft_VisualStudio_VCProjectEngine)" />
|
</ItemGroup>
|
<ItemGroup Condition="'$(VisualStudioVersion)'=='15.0'">
|
<Reference Include="Microsoft.VisualStudio.VCProjectEngine" />
|
</ItemGroup>
|
<!--
|
/////////////////////////////////////////////////////////////////////////////////////////////////
|
// Solution project references
|
// -->
|
<ItemGroup>
|
<ProjectReference Include="..\QtVsTools.RegExpr\QtVsTools.RegExpr.csproj">
|
<Project>{a2831b9b-4d3b-46cb-85df-1b5c277c17db}</Project>
|
<Name>QtVsTools.RegExpr</Name>
|
</ProjectReference>
|
</ItemGroup>
|
<!--
|
/////////////////////////////////////////////////////////////////////////////////////////////////
|
// Project items
|
// -->
|
<ItemGroup>
|
<Compile Include="Macro.cs" />
|
<Compile Include="MacroParser.cs" />
|
<Compile Include="MacroServer.cs" />
|
<T4Template Include="Properties\AssemblyInfo.cs">
|
<Generator>TextTemplatingFileGenerator</Generator>
|
<OutputFile>Properties\AssemblyInfo.tt.cs</OutputFile>
|
<DependsOn>$(SolutionDir)\version.tt;$(SolutionDir)\common.tt</DependsOn>
|
<LastGenOutput>AssemblyInfo.tt.cs</LastGenOutput>
|
</T4Template>
|
<Compile Include="Properties\AssemblyInfo.tt.cs">
|
<AutoGen>True</AutoGen>
|
<DesignTime>True</DesignTime>
|
<DependentUpon>AssemblyInfo.cs</DependentUpon>
|
</Compile>
|
<Compile Include="QtVsTest.cs" />
|
<None Include="source.extension.vsixmanifest">
|
<AutoGen>True</AutoGen>
|
<DesignTime>True</DesignTime>
|
<DependentUpon>source.extension.vsixmanifest_TT</DependentUpon>
|
</None>
|
<T4Template Include="source.extension.vsixmanifest_TT">
|
<Generator>TextTemplatingFileGenerator</Generator>
|
<OutputFile>source.extension.vsixmanifest</OutputFile>
|
<DependsOn>$(SolutionDir)\version.targets;$(SolutionDir)\version.tt;$(SolutionDir)\common.tt</DependsOn>
|
<LastGenOutput>source.extension.vsixmanifest</LastGenOutput>
|
</T4Template>
|
<Content Include="MacroClient.h">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<IncludeInVSIX>true</IncludeInVSIX>
|
</Content>
|
<Content Include="Resources\QtVsTest.ico" />
|
<T4Template Include="csmacro.tmLanguage_TT">
|
<Generator>TextTemplatingFileGenerator</Generator>
|
<OutputFile>csmacro.tmLanguage</OutputFile>
|
<DependsOn>$(SolutionDir)\common.tt</DependsOn>
|
<LastGenOutput>csmacro.tmLanguage</LastGenOutput>
|
</T4Template>
|
<Content Include="csmacro.tmLanguage">
|
<AutoGen>True</AutoGen>
|
<DesignTime>True</DesignTime>
|
<DependentUpon>csmacro.tmLanguage_TT</DependentUpon>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<IncludeInVSIX>true</IncludeInVSIX>
|
</Content>
|
<T4Template Include="csmacro.tmTheme_TT">
|
<Generator>TextTemplatingFileGenerator</Generator>
|
<OutputFile>csmacro.tmTheme</OutputFile>
|
<DependsOn>$(SolutionDir)\common.tt</DependsOn>
|
<LastGenOutput>csmacro.tmTheme</LastGenOutput>
|
</T4Template>
|
<Content Include="csmacro.tmTheme">
|
<AutoGen>True</AutoGen>
|
<DesignTime>True</DesignTime>
|
<DependentUpon>csmacro.tmTheme_TT</DependentUpon>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<IncludeInVSIX>true</IncludeInVSIX>
|
</Content>
|
</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>
|
<ItemGroup>
|
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
|
</ItemGroup>
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(SolutionDir)\transform.targets" />
|
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
|
</Project>
|