Could someone please tell me what exactly there is supposed to be in my Scripts\TypeLite.tt file when my class is defined in my Default.aspx.cs file like this:
namespace typelite
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
public class Address
{
public string Street { get; set; }
}
}
}
I cannot get the tutorial to work. (Typelite is a tool to get Typescript definitions from c# classes. I am using the Nuget ) It is the method that does not use ForLoadedAssemblies() I am interested in: http://type.litesolutions.net/Tutorials. I read the tutorial and I tried downloading the stable version and neither works.
EDIT: Use Web essentials for this! Visual studio 2013 installed with web essentials 2013 - right-click a .cs file and select "Web Essentials -> Create Typescript intellisense file" and voila :)
You need to make sure the dll is present at the right location for tt to work. Installing via nugget and then building your project would do this for you.