Using Studio's “Custom Tool” in MSBuild
问题 I've got a "Custom Tool" for Visual Studio to munge some template files into code. For consistency and portability I'd like to be able to run this template processor from MSBuild when building outside of Visual Studio. Visual Studio creates the following snippets for the files: <!-- the template --> <None Include="Template.in"> <Generator>Template Processor</Generator> <LastGenOutput>Template.in.Designer.cs</LastGenOutput> </None> <!-- generated file --> <Compile Include="Template.in.Designer