Tuesday, May 10, 2011

Copying a Tfs2010 Build template into same project

So, if you want to have a project where you work on TFS 2010 workflow build templates, and decide you want to conceptually branch a template into 2 parts based on an existing.  Copy, Paste, done?

Nope. If your project is set up as mine is with Build Action: XamlAppDef and Custom Tool MsBuild:Compile,
now there's a namespace/class conflict.



You get something like this



2 changes are needed. Right click the template and view code.
The first line that looks like



Which are the two points that need to be renamed. a sample rename would be:



Now your template compiles.

No comments:

Post a Comment