This project is read-only.

MetaSharp MSBuild Instructions

The following instructions can be used to run MetaSharp to build templates at compile time.

Add a reference to MetaSharp.MSBuild.dll
<Reference Include="MetaSharp.MSBuild.dll">
  <HintPath>..\lib\MetaSharp.MSBuild.dll</HintPath>
</Reference>

Add files to your project and set the Build Action to MetaSharpTemplate
<MetaSharpTemplate Include="Example.template" />

Add the folowing Import to your project file after importing your target languages targets file.
<Import Project="$(MetaSharpBinPath)\MetaSharp.MSBuild.targets" />

Last edited Mar 18, 2009 at 6:13 AM by justinc, version 2

Comments

No comments yet.