aboutsummaryrefslogtreecommitdiffstats
path: root/src/qttemplates/resource/Resource.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'src/qttemplates/resource/Resource.csproj')
-rw-r--r--src/qttemplates/resource/Resource.csproj15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/qttemplates/resource/Resource.csproj b/src/qttemplates/resource/Resource.csproj
index 2f92f31c..42750cea 100644
--- a/src/qttemplates/resource/Resource.csproj
+++ b/src/qttemplates/resource/Resource.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="resource.qrc" />
@@ -64,6 +74,9 @@
<ItemGroup>
<Content Include="resource.ico" />
</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.