diff options
Diffstat (limited to 'src/qttemplates/lib/Lib.csproj')
-rw-r--r-- | src/qttemplates/lib/Lib.csproj | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/qttemplates/lib/Lib.csproj b/src/qttemplates/lib/Lib.csproj index 78fdf6ab..3770bdb3 100644 --- a/src/qttemplates/lib/Lib.csproj +++ b/src/qttemplates/lib/Lib.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="lib.ico" /> @@ -60,9 +70,18 @@ <None Include="lib.vcxproj.filters"> <SubType>Designer</SubType> </None> + <T4Template Include="lib.vstemplate_TT"> + <Generator>TextTemplatingFileGenerator</Generator> + <OutputFile>lib.vstemplate</OutputFile> + <DependsOn>$(SolutionDir)\version.tt;$(SolutionDir)\common.tt</DependsOn> + <LastGenOutput>lib.vstemplate</LastGenOutput> + </T4Template> <VSTemplate Include="lib.vstemplate"> <SubType>Designer</SubType> <OutputSubPath>Qt</OutputSubPath> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>lib.vstemplate_TT</DependentUpon> </VSTemplate> </ItemGroup> <ItemGroup> @@ -72,6 +91,9 @@ <Content Include="stdafx.cpp" /> <Content Include="stdafx.h" /> </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. |