aboutsummaryrefslogtreecommitdiffstats
path: root/Templates/quick/QtTemplate.Project.Quick.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'Templates/quick/QtTemplate.Project.Quick.csproj')
-rw-r--r--Templates/quick/QtTemplate.Project.Quick.csproj42
1 files changed, 39 insertions, 3 deletions
diff --git a/Templates/quick/QtTemplate.Project.Quick.csproj b/Templates/quick/QtTemplate.Project.Quick.csproj
index 5e0a4bc9..3a0769c5 100644
--- a/Templates/quick/QtTemplate.Project.Quick.csproj
+++ b/Templates/quick/QtTemplate.Project.Quick.csproj
@@ -78,6 +78,45 @@
<WarningLevel>4</WarningLevel>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
+ <!--
+ /////////////////////////////////////////////////////////////////////////////////////////////////
+ // Global references
+ // -->
+ <ItemGroup>
+ <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
+ </ItemGroup>
+ <!--
+ /////////////////////////////////////////////////////////////////////////////////////////////////
+ // General package references
+ // -->
+ <Import Project="$(SolutionDir)\references.props" />
+ <ItemGroup>
+ <PackageReference Include="$(Name_Microsoft_VSSDK_BuildTools)" Version="$(Version_Microsoft_VSSDK_BuildTools)" />
+ <PackageReference Include="$(Name_Microsoft_VisualStudio_SDK)" Version="$(Version_Microsoft_VisualStudio_SDK)" ExcludeAssets="runtime" />
+ </ItemGroup>
+ <!--
+ /////////////////////////////////////////////////////////////////////////////////////////////////
+ // Version specific package references
+ // -->
+ <Choose>
+ <When Condition="'$(VisualStudioVersion)'=='17.0'">
+ <ItemGroup>
+ </ItemGroup>
+ </When>
+ <When Condition="'$(VisualStudioVersion)'=='16.0'">
+ <ItemGroup>
+ <PackageReference Include="$(Name_Microsoft_VisualStudio_Validation)" Version="$(Version_Microsoft_VisualStudio_Validation)" />
+ </ItemGroup>
+ </When>
+ <When Condition="'$(VisualStudioVersion)'=='15.0'">
+ <ItemGroup>
+ </ItemGroup>
+ </When>
+ </Choose>
+ <!--
+ /////////////////////////////////////////////////////////////////////////////////////////////////
+ // Project items
+ // -->
<ItemGroup>
<T4Template Include="Properties\AssemblyInfo.cs">
<Generator>TextTemplatingFileGenerator</Generator>
@@ -116,9 +155,6 @@
</VSTemplate>
</ItemGroup>
<ItemGroup>
- <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
- </ItemGroup>
- <ItemGroup>
<Content Include="main.cpp" />
<Content Include="main.qml" />
</ItemGroup>