diff options
Diffstat (limited to 'src/qttemplates/gui/Gui.csproj')
-rw-r--r-- | src/qttemplates/gui/Gui.csproj | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/qttemplates/gui/Gui.csproj b/src/qttemplates/gui/Gui.csproj index 1898baee..323ecdaa 100644 --- a/src/qttemplates/gui/Gui.csproj +++ b/src/qttemplates/gui/Gui.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="gui.ico" /> @@ -66,11 +76,23 @@ <None Include="widget.cpp" /> <None Include="widget.h" /> <None Include="widget.ui" /> + <T4Template Include="gui.vstemplate_TT"> + <Generator>TextTemplatingFileGenerator</Generator> + <OutputFile>gui.vstemplate</OutputFile> + <DependsOn>$(SolutionDir)\version.tt;$(SolutionDir)\common.tt</DependsOn> + <LastGenOutput>gui.vstemplate</LastGenOutput> + </T4Template> <VSTemplate Include="gui.vstemplate"> <SubType>Designer</SubType> <OutputSubPath>Qt</OutputSubPath> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>gui.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. |