VS2012 Integration

Topics: General
May 12, 2014 at 11:26 PM
My apologies if this has been answered already.

I installed the RTM add-on for VS2012 and created a new MVC4 project. If I add a TS file to the project it doesn't build it automatically when I build the project. The compiler for the file is set correctly as well. Am I missing something?

FYI all the intellisense works for the file and it all seems to work perfectly in VS2013 with Update2.

Thanks,
Eric
Developer
May 13, 2014 at 12:13 AM
To be clear, you mean the TS file as its BuildAction set to TypeScriptCompile in the VS Properties pane? Does the project file import the Typescript .targets file?
May 13, 2014 at 1:30 AM
Edited May 13, 2014 at 1:30 AM
Yes that is correct about the BuildAction. I did not do anything to import a .targets file. Do I have to do that manually?
May 13, 2014 at 1:49 AM
I got it working by adding the imports to the project file. Thanks.