Avoid all custom tasks, since this causes build issues in Visual Studio (Build.Tasks.dll gets loaded into the main AppDomain and remains locked, meaning you have to exit Visual Studio before rebuilding the project).

This commit is contained in:
the_fiddler 2010-10-06 14:18:10 +00:00
parent 6b1041de46
commit 0bc4ae2a1d

View file

@ -16,8 +16,8 @@
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
</PropertyGroup> </PropertyGroup>
<Import Project="..\Source\Build.Tasks\Common.xml" />
<PropertyGroup> <PropertyGroup>
<OutputPath>.\Source</OutputPath>
<LatexPath>$(OutputPath)\latex</LatexPath> <LatexPath>$(OutputPath)\latex</LatexPath>
<HtmlPath>$(OutputPath)\html</HtmlPath> <HtmlPath>$(OutputPath)\html</HtmlPath>
<ProjectGuid>{650C6F3D-33B5-4216-9536-956AB42C0624}</ProjectGuid> <ProjectGuid>{650C6F3D-33B5-4216-9536-956AB42C0624}</ProjectGuid>
@ -36,10 +36,10 @@
<None Include="Todo.txt" /> <None Include="Todo.txt" />
</ItemGroup> </ItemGroup>
<Target Name="Build"> <Target Name="Build">
<Run Command="doxygen" /> <Exec Command="doxygen" />
<Run Command="pdflatex -interaction=batchmode refman.tex" WorkingDirectory="$(LatexPath)" /> <Exec Command="pdflatex -interaction=batchmode refman.tex" WorkingDirectory="$(LatexPath)" />
<Run Command="makeindex -q refman.idx" WorkingDirectory="$(LatexPath)" /> <Exec Command="makeindex -q refman.idx" WorkingDirectory="$(LatexPath)" />
<Run Command="pdflatex -interaction=batchmode refman.tex" WorkingDirectory="$(LatexPath)" /> <Exec Command="pdflatex -interaction=batchmode refman.tex" WorkingDirectory="$(LatexPath)" />
<Copy SourceFiles="$(LatexPath)\refman.pdf" DestinationFiles="Reference.pdf" /> <Copy SourceFiles="$(LatexPath)\refman.pdf" DestinationFiles="Reference.pdf" />
</Target> </Target>
<Target Name="Clean"> <Target Name="Clean">
@ -52,4 +52,4 @@
<CallTarget Targets="Clean" /> <CallTarget Targets="Clean" />
<CallTarget Targets="Build" /> <CallTarget Targets="Build" />
</Target> </Target>
</Project> </Project>