Quckstart Getting Started - Compiler Errors
Hello all. I thought this may save some time for others so I am posting this here.
I watched a couple videos and tried what I saw on how to use the HTML Quickstart. However, I ran into trouble quick, as I did not not have Typescript 1.5.0 installed and I am using Visual Studio 2013. I ran the Package Manager to install the 1.5.0 but I could not figure out how to get the path to the Typescript 1.5.0 to be acknowledged by the project. So after some failed attempts, I decided it would be best to install Typescript into the system not using the Package Manager (https://visualstudiogallery.msdn.microsoft.com/b1fff87e-d68b-4266-8bba-46fad76bbf22) . After installing the 1.0.0 Compiler and adding the Typescript Compiler to the environmental variables, the quickstart solution now compiles and I think I can now go back to the videos and get started writing some custom code that I need for a project.
Have a great day...
End
0
-
I almost got there with the above however I did run into some more enviornmental issues.
1) The path for my project has spaces in the name. In order for the post-build to find it I had to put Quotes around the path and batchfile name. "$(ProjectDir)build.bat"2) When I copied the Custom\Modules\Template over to a new empy web application, the .ts files came in with Build Action set to TypeScriptCompile. This was creating *.d.ts files in the Custom\Modules\Template folder. When the build.bat was run it would get confused because the source was duplicated.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar