aboutsummaryrefslogtreecommitdiffstats
path: root/src/qttemplates/mainwindow/MainWindow.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'src/qttemplates/mainwindow/MainWindow.csproj')
-rw-r--r--src/qttemplates/mainwindow/MainWindow.csproj15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/qttemplates/mainwindow/MainWindow.csproj b/src/qttemplates/mainwindow/MainWindow.csproj
index 8d205bed..9d159309 100644
--- a/src/qttemplates/mainwindow/MainWindow.csproj
+++ b/src/qttemplates/mainwindow/MainWindow.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>
<Content Include="mainwindow.ico" />
@@ -60,6 +70,9 @@
<SubType>Designer</SubType>
</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.