This is a configuration option. VsTsc, , . PreComputeCompileTypeScript. , VsTsc , . , . , COMPUTE_PATHS_ONLY.
VsTsc C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\ TypeScript\TypeScript.Tasks.dll. :
protected override int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands)
{
if (this.Configurations.Contains("--sourcemap"))
{
this.generateSourceMaps = true;
}
else
{
this.generateSourceMaps = false;
}
if (this.Configurations.Contains("--declaration"))
{
this.generateDeclarations = true;
}
else
{
this.generateDeclarations = false;
}
this.GenerateOutputPaths();
if (!responseFileCommands.Contains("COMPUTE_PATHS_ONLY"))
{
return base.ExecuteTool(pathToTool, responseFileCommands, commandLineCommands);
}
return 0;
}
!responseFileCommands.Contains(), base.ExecuteTool().
, , , . , TypeScript.Tasks.dll. VS2013 4 11 2014 27816 .