Tools: String Manipulations Find Dupes My IP Json Formatter Lorem Ipsum More...
Discussion Options
ajax animation

Disable TypeScript Compiling in Visual Studio

9/27/2016 4:16:18 PM by: CodeLocker

When compiling in VS 2015 (maybe earlier versions), you may get a compiler error related to TypeScript. You may then curse the fucking shit out of Microsoft for updating VS only to prevent you from continuing to work and tell you about errors that you have nothing to do with. Well, when you are done cursing, you can try the following.

  1. Close VS or Unload the project you are working on (right click the Project -> Unload Project)
  2. Open the csproj file in a text editor (NotePad++ is my favorite)
  3. Add the <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> line below the version (see below)
  4. Restart VS or the reload the Project

 

View Copy: Content Copied
<TypeScriptToolsVersion>1.8</TypeScriptToolsVersion>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
Copy: Content Copied
ajax animation
×

Get Coding

Store your first code or add more code to your collection.
You must login to report abuse. ×