score:0

You need to look at the error in the errors window of visual studio to see more information.

Also you can right click the .tt file and say debug template.

score:4

Old question I know, but I've just found the same thing.

When you reference System.Core, don't include .dll:

<#@ assembly name="System.Core" #>

Related Query

More Query from same tag