aboutsummaryrefslogtreecommitdiffstats
path: root/src/qttemplates/console/Console.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'src/qttemplates/console/Console.csproj')
-rw-r--r--src/qttemplates/console/Console.csproj25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/qttemplates/console/Console.csproj b/src/qttemplates/console/Console.csproj
index f56c7747..3ba880d6 100644
--- a/src/qttemplates/console/Console.csproj
+++ b/src/qttemplates/console/Console.csproj
@@ -50,7 +50,17 @@
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<ItemGroup>
- <Compile Include="Properties\AssemblyInfo.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>
</ItemGroup>
<ItemGroup>
<None Include="console.ico" />
@@ -61,11 +71,24 @@
<SubType>Designer</SubType>
</None>
<None Include="main.cpp" />
+ <T4Template Include="console.vstemplate_TT">
+ <Generator>TextTemplatingFileGenerator</Generator>
+ <OutputFile>console.vstemplate</OutputFile>
+ <DependsOn>$(SolutionDir)\version.tt;$(SolutionDir)\common.tt</DependsOn>
+ <LastGenOutput>console.vstemplate</LastGenOutput>
+ <SubType>Designer</SubType>
+ </T4Template>
<VSTemplate Include="console.vstemplate">
<SubType>Designer</SubType>
<OutputSubPath>Qt</OutputSubPath>
+ <AutoGen>True</AutoGen>
+ <DesignTime>True</DesignTime>
+ <DependentUpon>console.vstemplate_TT</DependentUpon>
</VSTemplate>
</ItemGroup>
+ <ItemGroup>
+ <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.