aspnet / Tooling

Issue tracker and info on Visual Studio tooling for ASP.NET
Other
256 stars 124 forks source link

Visual Studio 2015 Update 3: CompileTypeScriptWithTSConfig Unknown compiler option 'listemittedfiles' #674

Open mike-compeat opened 8 years ago

mike-compeat commented 8 years ago

For some reason Visual Studio is now trying to pass the 'listemittedfiles' option to tsc.exe. Here is a build log:

1>VCTargetsPath = C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\ 1>VCTargetsPath10 = C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\ 1>VCTargetsPath11 = C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\ 1>VCTargetsPath12 = C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\ 1>VCTargetsPath14 = C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\ 1>VerifyDatabaseSettingWithImport = True 1>Version = 1.0.0.0 1>VisualStudioDir = D:\Users\Mike\Documents\Visual Studio 2015 1>VisualStudioEdition = Microsoft Visual Studio Professional 2015 1>VisualStudioVersion = 14.0 1>VS100COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\ 1>VS110COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\ 1>VS120COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\ 1>VS140COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ 1>VS90COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\ 1>VsContentPathParametersPriority = -80 1>VsDestinationVDirParametersPriority = -70 1>VSIDEResolvedNonMSBuildProjectOutputs = 1>VsIisAppParametersPriority = -100 1>VSLANG = 1033 1>VSSDK140Install = C:\Program Files (x86)\Microsoft Visual Studio 14.0\VSSDK\ 1>VsSetAclPriority = -60 1>VsSQLDatabaseScriptParametersPriority = 60 1>VSToolsPath = C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0 1>VsWebConfigAutoCsParametersPriority = 100 1>WarningLevel = 4 1>Web_Publishing_AspNetCompileMerge_targets = Transform\Microsoft.Web.Publishing.AspNetCompileMerge.targets 1>WebMSDeployPublishDependsOn = 1> MSDeployPublish; 1>
1>WebPackagePublishDependsOn = 1> Package; 1>
1>WebProjectOutputDir = D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests 1>WebProjectOutputDirInsideProject = True 1>WebProjectOutputDirInsideProjectDefault = True 1>WebPublishDependsOn = 1> ; 1> ValidatePublishProfileSettings; 1>
1>WebPublishExtensionsToExclude = .tt;.settings 1>WebPublishPipelineCustomizeTargetFile = D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests*.wpp.targets 1>WebPublishPipelineProjectDirectory = D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests 1>WebPublishPipelineProjectFile = Compeat.Enterprise.Client.Tests.csproj 1>WebPublishPipeLineProjectFullPath = D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj 1>WebPublishPipelineProjectName = Compeat.Enterprise.Client.Tests 1>WebPublishPipelineSolutionTargetFile = D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests..\wpp.deploysettings.targets 1>WebPublishPipelineSourceRootDirectory = D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests 1>WebPublishPipelineTransformRootDirectory = 1>WebPublishPipelineWAPProjectSettings = D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj 1>WebPublishTasksDir = C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\ 1>WebReference_EnableLegacyEventingModel = false 1>WebReference_EnableProperties = true 1>WebReference_EnableSQLTypes = true 1>windir = C:\WINDOWS 1>windows_tracing_flags = 3 1>windows_tracing_logfile = C:\BVTBin\Tests\installpackage\csilogfile.log 1>WindowsSDK80Path = C:\Program Files (x86)\Windows Kits\8.1\ 1>WMSJSProject = WJProject 1>WMSJSProjectDirectory = JavaScript 1>WorkflowBuildExtensionAssemblyName = Microsoft.Activities.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 1>WorkflowBuildExtensionKeyToken = 31bf3856ad364e35 1>WorkflowBuildExtensionVersion = 4.0.0.0 1>WPPAllFilesInSingleFolder = obj\Debug\Package\PackageTmp 1>WPPCopyWebApplicaitonPipelineCircularDependencyError = False 1>WriteItemsToSourceManifestDependsOn = 1> ; 1>
1> ; 1> AddDatabasesToSourceManifest; 1> ; 1> AddIisSettingAndFileContentsToSourceManifest; 1>
1>XamlBuildTaskAssemblyName = XamlBuildTask, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 1>XamlBuildTaskLocation = C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ 1>XamlBuildTaskPath = C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ 1>XamlDebuggingInformation = true 1>XamlGenCodeFileNames = Compeat.Enterprise.Client.Tests.csproj.XamlGeneratedCodeFileListAbsolute.txt 1>XamlGenMarkupFileNames = Compeat.Enterprise.Client.Tests.csproj.XamlGeneratedXamlFileListAbsolute.txt 1>XamlPass2FlagFile = Compeat.Enterprise.Client.Tests.csproj.XamlPass2Flag.txt 1>XamlRequiresCompilationPass2 = false 1>XamlTemporaryAssemblyName = Compeat.Enterprise.Client.Tests 1>XNAGSShared = C:\Program Files (x86)\Common Files\Microsoft Shared\XNA\ 1>YieldDuringToolExecution = true 1> 1>Building with tools version "14.0". 1>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="14.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=293424. 1>Target "_CheckForInvalidConfigurationAndPlatform: (TargetId:2)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj" (entry point): 1>Set Property: _InvalidConfigurationMessageText=The OutputPath property is not set for project 'Compeat.Enterprise.Client.Tests.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='AnyCPU'. 1>Set Property: _InvalidConfigurationMessageText=The OutputPath property is not set for project 'Compeat.Enterprise.Client.Tests.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='AnyCPU'. This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. 1>Task "Error" skipped, due to false condition; ( '$(_InvalidConfigurationError)' == 'true' ) was evaluated as ( '' == 'true' ). 1>Task "Warning" skipped, due to false condition; ( '$(_InvalidConfigurationWarning)' == 'true' ) was evaluated as ( '' == 'true' ). 1>Using "Message" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1>Task "Message" (TaskId:2) 1> Task Parameter:Text=Configuration=Debug (TaskId:2) 1> Task Parameter:Importance=Low (TaskId:2) 1> Configuration=Debug (TaskId:2) 1>Done executing task "Message". (TaskId:2) 1>Task "Message" (TaskId:3) 1> Task Parameter:Text=Platform=AnyCPU (TaskId:3) 1> Task Parameter:Importance=Low (TaskId:3) 1> Platform=AnyCPU (TaskId:3) 1>Done executing task "Message". (TaskId:3) 1>Task "Error" skipped, due to false condition; ('$(OutDir)' != '' and !HasTrailingSlash('$(OutDir)')) was evaluated as ('bin\' != '' and !HasTrailingSlash('bin\')). 1>Task "Error" skipped, due to false condition; ('$(BaseIntermediateOutputPath)' != '' and !HasTrailingSlash('$(BaseIntermediateOutputPath)')) was evaluated as ('obj\' != '' and !HasTrailingSlash('obj\')). 1>Task "Error" skipped, due to false condition; ('$(IntermediateOutputPath)' != '' and !HasTrailingSlash('$(IntermediateOutputPath)')) was evaluated as ('obj\Debug\' != '' and !HasTrailingSlash('obj\Debug\')). 1>Done building target "_CheckForInvalidConfigurationAndPlatform" in project "Compeat.Enterprise.Client.Tests.csproj".: (TargetId:2) 1>Target "BeforeRebuild: (TargetId:3)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj" (target "Rebuild" depends on it): 1>Done building target "BeforeRebuild" in project "Compeat.Enterprise.Client.Tests.csproj".: (TargetId:3) 1>Target "BeforeClean: (TargetId:4)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj" (target "Clean" depends on it): 1>Done building target "BeforeClean" in project "Compeat.Enterprise.Client.Tests.csproj".: (TargetId:4) 1>Target "UnmanagedUnregistration" skipped, due to false condition; ((('$(_AssemblyTimestampBeforeCompile)' != '$(_AssemblyTimestampAfterCompile)' or '$(RegisterForComInterop)' != 'true' or '$(OutputType)' != 'library') or 1> ('$(_AssemblyTimestampBeforeCompile)' == '')) and 1> Exists('@(_UnmanagedRegistrationCache)')) was evaluated as ((('' != '' or '' != 'true' or 'Library' != 'library') or 1> ('' == '')) and 1> Exists('obj\Compeat.Enterprise.Client.Tests.csproj.UnmanagedRegistration.cache')). 1>Target "CoreClean: (TargetId:5)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj" (target "Clean" depends on it): 1>Using "Delete" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1>Task "Delete" (TaskId:4) 1> Task Parameter: 1> Files= 1> obj\Debug\TempCA\Compeat.Enterprise.Client.Tests.pdb 1> obj\Debug\TempCA\Compeat.Enterprise.Client.Tests.dll (TaskId:4) 1> Task Parameter:TreatErrorsAsWarnings=True (TaskId:4) 1> File "obj\Debug\TempCA\Compeat.Enterprise.Client.Tests.pdb" doesn't exist. Skipping. (TaskId:4) 1> File "obj\Debug\TempCA\Compeat.Enterprise.Client.Tests.dll" doesn't exist. Skipping. (TaskId:4) 1>Done executing task "Delete". (TaskId:4) 1>Using "ReadLinesFromFile" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1>Task "ReadLinesFromFile" (TaskId:5) 1> Task Parameter:File=obj\Debug\Compeat.Enterprise.Client.Tests.csproj.FileListAbsolute.txt (TaskId:5) 1>Done executing task "ReadLinesFromFile". (TaskId:5) 1>Using "FindUnderPath" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1>Task "FindUnderPath" (TaskId:6) 1> Task Parameter:Path=bin\ (TaskId:6) 1> Comparison path is "bin\". (TaskId:6) 1>Done executing task "FindUnderPath". (TaskId:6) 1>Task "FindUnderPath" (TaskId:7) 1> Task Parameter:Path=obj\Debug\ (TaskId:7) 1> Comparison path is "obj\Debug\". (TaskId:7) 1>Done executing task "FindUnderPath". (TaskId:7) 1>Task "Delete" (TaskId:8) 1> Task Parameter:TreatErrorsAsWarnings=True (TaskId:8) 1>Done executing task "Delete". (TaskId:8) 1>Using "RemoveDuplicates" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1>Task "RemoveDuplicates" (TaskId:9) 1>Done executing task "RemoveDuplicates". (TaskId:9) 1>Using "MakeDir" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1>Task "MakeDir" (TaskId:10) 1> Task Parameter:Directories=obj\Debug\ (TaskId:10) 1>Done executing task "MakeDir". (TaskId:10) 1>Using "WriteLinesToFile" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1>Task "WriteLinesToFile" (TaskId:11) 1> Task Parameter:File=obj\Debug\Compeat.Enterprise.Client.Tests.csproj.FileListAbsolute.txt (TaskId:11) 1> Task Parameter:Overwrite=True (TaskId:11) 1>Done executing task "WriteLinesToFile". (TaskId:11) 1>Done building target "CoreClean" in project "Compeat.Enterprise.Client.Tests.csproj".: (TargetId:5) 1>Target "AssignProjectConfiguration: (TargetId:6)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj" (target "CleanReferencedProjects" depends on it): 1>Set Property: OnlyReferenceAndBuildProjectsEnabledInSolutionConfiguration=true 1>Set Property: ShouldUnsetParentConfigurationAndPlatform=true 1>Using "AssignProjectConfiguration" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1>Task "AssignProjectConfiguration" (TaskId:12) 1> Task Parameter:CurrentProject=D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj (TaskId:12) 1> Task Parameter:CurrentProjectConfiguration=Debug (TaskId:12) 1> Task Parameter:CurrentProjectPlatform=AnyCPU (TaskId:12) 1> Task Parameter:OutputType=Library (TaskId:12) 1> Task Parameter:ResolveConfigurationPlatformUsingMappings=False (TaskId:12) 1> Task Parameter:SolutionConfigurationContents= 1> Debug|AnyCPU 1> (TaskId:12) 1> Task Parameter:OnlyReferenceAndBuildProjectsEnabledInSolutionConfiguration=True (TaskId:12) 1> Task Parameter:ShouldUnsetParentConfigurationAndPlatform=True (TaskId:12) 1>Done executing task "AssignProjectConfiguration". (TaskId:12) 1>Done building target "AssignProjectConfiguration" in project "Compeat.Enterprise.Client.Tests.csproj".: (TargetId:6) 1>Target "_SplitProjectReferencesByFileExistence: (TargetId:7)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj" (target "CleanReferencedProjects" depends on it): 1>Task "ResolveNonMSBuildProjectOutput" skipped, due to false condition; ('$(BuildingInsideVisualStudio)'=='true' and '@(ProjectReferenceWithConfiguration)'!='') was evaluated as ('true'=='true' and ''!=''). 1>Done building target "_SplitProjectReferencesByFileExistence" in project "Compeat.Enterprise.Client.Tests.csproj".: (TargetId:7) 1>Target "CleanReferencedProjects: (TargetId:8)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj" (target "Clean" depends on it): 1>Task "MSBuild" skipped, due to false condition; ('$(BuildingInsideVisualStudio)' != 'true' and '$(BuildProjectReferences)' == 'true' and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as ('true' != 'true' and 'true' == 'true' and '' != ''). 1>Done building target "CleanReferencedProjects" in project "Compeat.Enterprise.Client.Tests.csproj".: (TargetId:8) 1>Target "CleanPublishFolder: (TargetId:9)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj" (target "Clean" depends on it): 1>Task "RemoveDir" skipped, due to false condition; ('$(PublishDir)'=='$(OutputPath)app.publish\' and Exists('$(PublishDir)')) was evaluated as ('bin\app.publish\'=='bin\app.publish\' and Exists('bin\app.publish\')). 1>Done building target "CleanPublishFolder" in project "Compeat.Enterprise.Client.Tests.csproj".: (TargetId:9) 1>Target "AfterClean: (TargetId:10)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj" (target "Clean" depends on it): 1>Done building target "AfterClean" in project "Compeat.Enterprise.Client.Tests.csproj".: (TargetId:10) 1>Target "EntityClean" skipped, due to false condition; ('@(EntityDeploy)' != '') was evaluated as ('' != ''). 1>Target "PreComputeCompileTypeScript: (TargetId:11)" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets" from project "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj" (target "TypeScriptClean" depends on it): 1>Using "VsTsc" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\TypeScript.tasks.dll". 1>Task "VsTsc" (TaskId:13) 1> Task Parameter:ToolPath=C:\Program Files (x86)\Microsoft SDKs\TypeScript (TaskId:13) 1> Task Parameter:ToolExe=tsc.exe (TaskId:13) 1> Task Parameter:Configurations= --out "_output\combined_output.js" --target ES5 --noEmitOnError --locale en-US (TaskId:13) 1> Task Parameter: 1> FullPathsToFiles= 1> common-refs.d.ts 1> shared-stack-mocks.ts 1> Tests\app.ts 1> Tests\Login\login-controller.ts 1> Tests\Login\login-model.ts 1> Tests\Login\login-service.ts (TaskId:13) 1> Task Parameter:YieldDuringToolExecution=True (TaskId:13) 1> Task Parameter:OutFile=_output\combined_output.js (TaskId:13) 1> Task Parameter:ProjectDir=D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\ (TaskId:13) 1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(184,3): warning : Couldn't locate the compiler version () specified in the project file. 1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(184,3): warning : Using compiler version (1.8), if this is incorrect change the element in your project file. 1> C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\tsc.exe --out "_output\combined_output.js" --target ES5 --noEmitOnError --locale en-US --listEmittedFiles "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\common-refs.d.ts" "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\shared-stack-mocks.ts" "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Tests\app.ts" "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Tests\Login\login-controller.ts" "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Tests\Login\login-model.ts" "D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Tests\Login\login-service.ts" (TaskId:13) 1> D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\error TS5023:Build:Unknown compiler option 'listemittedfiles'. (TaskId:13) 1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(184,3): error MSB6006: "tsc.exe" exited with code 1. 1>Done executing task "VsTsc" -- FAILED. (TaskId:13) 1>Done building target "PreComputeCompileTypeScript" in project "Compeat.Enterprise.Client.Tests.csproj" -- FAILED.: (TargetId:11) 1> 1>Project Performance Summary: 1> 1041 ms D:\Work\Compeat.Enterprise\Compeat.Enterprise.Future\Compeat.Enterprise.Client.Tests\Compeat.Enterprise.Client.Tests.csproj 1 calls 1> 1041 ms Rebuild 1 calls 1> 1>Target Performance Summary: 1> 0 ms AfterClean 1 calls 1> 0 ms _SplitProjectReferencesByFileExistence 1 calls 1> 0 ms CleanReferencedProjects 1 calls 1> 0 ms BeforeRebuild 1 calls 1> 1 ms CleanPublishFolder 1 calls 1> 1 ms BeforeClean 1 calls 1> 3 ms AssignProjectConfiguration 1 calls 1> 5 ms CoreClean 1 calls 1> 8 ms _CheckForInvalidConfigurationAndPlatform 1 calls 1> 1019 ms PreComputeCompileTypeScript 1 calls 1> 1>Task Performance Summary: 1> 0 ms FindUnderPath 2 calls 1> 0 ms MakeDir 1 calls 1> 0 ms WriteLinesToFile 1 calls 1> 1 ms Message 2 calls 1> 1 ms ReadLinesFromFile 1 calls 1> 1 ms AssignProjectConfiguration 1 calls 1> 1 ms RemoveDuplicates 1 calls 1> 3 ms Delete 2 calls 1> 1016 ms VsTsc 1 calls 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:01.05 ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

mlorbetske commented 8 years ago

TFS Bug#241388

minestarks commented 8 years ago

It's been a while but are you still having the issue? Please try the steps here to repair your TypeScript/VS installation.

If you install VS 15 Preview 3 side by side with VS 2015 Update 3, the MSBuild task definitions may get corrupted (for both VS installations). If you start to see build errors referencing Microsoft.TypeScript.targets, back up and delete your %ProgramFiles(x86)%\msbuild\microsoft\visualstudio\ v14.0\typescript and v15.0\typescript folders, then from the Programs and Features UI in Windows, select Visual Studio 15 and repair it.

ghost commented 8 years ago

I had the same problem. I followed the instructions by minestarks (deleting the directories and repairing Visual Studio). This did not help.

In the project file the TypeScriptToolVersion was set to 2.0. I also checked the help/about window of visual studio which states that I use Visual Studio Enterprise 2015 Version 14.0.25425.01 Update 3. Furthermore Typescript 2.0.0.0 is installed.

I would expect a folder like C:\Program Files (x86)\Microsoft SDKs\TypeScript\v2.0 to exist but this is not the case - don't ask me how this happened (?) I only have a directory "1.8"

Changing the TypeScriptToolsVersion tag in my project file fixed the problem for me:

1.8

If fixing the project file does not help you should consider taking the actions of minestarks and then fix the project file.

Good Luck

minestarks commented 8 years ago

@Schnabelino To confirm, did stuff break after you've installed VS15 Preview 3?

ghost commented 8 years ago

In the past weeks I tried to get UWP with Typescript and Angular2 working. I installed and uninstalled multiple updates for VS15 / Typescript etc. in different versions.

Therefore I can not say for sure that I this problem is related to VS15 Preview 3. Sorry.

Although my fix works, VS now complains, that the Typescript Version installed does not match the one in my project file. It asks to update it but I have to cancel that as this would break the build again.

For me this looks like a mismatch between the installed typescript version number (2.0) and the name of the directory C:\Program Files (x86)\Microsoft SDKs\TypeScript\v1.8

Do you think (backing up) and removing C:\Program Files (x86)\Microsoft SDKs\TypeScript\v1.8 and then repairing VS 2015 will fix this too?

vernjensen commented 8 years ago

I am having this exact same issue.

1> C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.6\tsc.exe --project "F:\depot\depot\code\main\web\CedarsReport\tsconfig.json" --listEmittedFiles 1> F:\depot\depot\code\main\web\CedarsReport\error TS5023:Build:Unknown compiler option 'listemittedfiles'.

I have TypeScript 1.8.3 intalled (which About box confirms). NO IDEA why it's using 1.6 here. What the heck? And how do I disable this listEmittedFiles flag?

This is after installing Visual Studio 2015 Update 3. I was formerly on Visual Studio 2013.