Skip to content

Instantly share code, notes, and snippets.

@mkoertgen
Created February 11, 2015 11:13
Show Gist options
  • Save mkoertgen/4a3605ae28b109d130e5 to your computer and use it in GitHub Desktop.
Save mkoertgen/4a3605ae28b109d130e5 to your computer and use it in GitHub Desktop.
Enable NCrunch on SharpDx Toolkit projects
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- override the TkCompileTarget with empty to skip content compilation, e.g. for NCrunch -->
<Target Name="TkCompileTarget" />
<Target Name="TkListContentAndCompileTarget" />
</Project>
@mkoertgen
Copy link
Author

Loving NCrunch, loving SharpDx. How to enable NCrunch building SharpDx Toolkit projects? Makeup a new targets-file (see above) and override the targets TkCompileTarget and TkListContentAndCompileTarget as empty. Then, conditionally import the file like

<!--Skip Tollkit/Content compilation for NCrunch comilation -->
<Import Project="SkipTkCompile.targets" Condition="'$(NCrunch)' == '1'" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment