I have a .NET site that contains some TypeScript files. I am trying to deploy it as an Azure site from GitHub, but I am getting a TypeScript related error message.
It seems to me that this may be due to my use of the latest version (1.0), while kudu build has only 0.9 - but I am enough for this not to be sure what the problem is and how to fix it.
Here is the deployment log (sorry for formatting):
Command: D: \ home \ site \ deployments \ tools \ deploy.cmd Processing a .NET Web Application deployment. All packages listed in the packages.config file are already installed. Restoring NuGet packages ... To prevent NuGet packages from loading during build, open the Visual Studio Options dialog box, click the Package Manager node and uncheck Allow NuGet to Download Missing Packages. All packages listed in the packages.config file are already installed. Shadow_findly โ D: \ home \ site \ repository \ Shadow_findly \ bin \ Release \ Shadow_findly.dll D: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ TypeScript \ Microsoft.TypeScript.targets (96.5 ): error: the project file uses a different version of the TypeScript compiler and the tools that are currently installed on this computer. The compiler was not found in D: \ Program Files (x86) \ Microsoft SDK \ TypeScript \ 1.0 \ tsc.exe. You can fix this problem by changing the item in the project file. [D: \ main \ site \ repository \ HiveAdmin \ TheHive.Admin.csproj] D: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ TypeScript \ Microsoft.TypeScript.targets (96.5): Error MSB6004: The specified execution location of the task "D: \ Program Files (x86)) \ Microsoft SDK \ TypeScript \ 1.0 \ tsc.exe" is incorrect. [D: \ main \ site \ repository \ HiveAdmin \ TheHive.Admin.csproj] Failed exitCode = 1, command = "D: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ MSBuild.exe" "D: \ home \ site \ repository \ HiveAdmin \ TheHive.Admin.csproj "/ nologo / verbosity: m / t: Build / t: pipePreDeployCopyAllFilesToOneFolder / p: _PackageTempDir =" C: \ DWASFiles \ Sites \ thehiveadmin \ Temp-19e-5e5-cab-19-cab35 ae3a-b780b7bb6400 "; AutoParameterizationWebConfigConnectionStrings = false; Configuration = Release / p: SolutionDir = "D:. \ Main \ site \ storage \" An error occurred while deploying the website. Processing deployment of .NET Web Application. All packages listed in the packages.config file are already installed. Restoring NuGet packages ... To prevent NuGet packages from loading during build, open the Visual Studio Options dialog box, click the Package Manager node and uncheck Allow NuGet to Download Missing Packages. All packages listed in the packages.config file are already installed. Shadow_findly โ D: \ home \ site \ repository \ Shadow_findly \ bin \ Release \ Shadow_findly.dll D: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ TypeScript \ Microsoft.TypeScript.targets (96.5 ): error: the project file uses a different version of the TypeScript compiler and the tools that are currently installed on this computer. The compiler was not found in D: \ Program Files (x86) \ Microsoft SDK \ TypeScript \ 1.0 \ tsc.exe. You can fix this problem by changing the item in the project file. [D: \ main \ site \ repository \ HiveAdmin \ TheHive.Admin.csproj] D: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ TypeScript \ Microsoft.TypeScript.targets (96.5): Error MSB6004: The specified execution location of the task "D: \ Program Files (x86)) \ Microsoft SDK \ TypeScript \ 1.0 \ tsc.exe" is incorrect. [D: \ main \ site \ repository \ HiveAdmin \ TheHive.Admin.csproj] Failed exitCode = 1, command = "D: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ MSBuild.exe" "D: \ home \ site \ repository \ HiveAdmin \ TheHive.Admin.csproj "/ nologo / verbosity: m / t: Build / t: pipePreDeployCopyAllFilesToOneFolder / p: _PackageTempDir =" C: \ DWASFiles \ Sites \ thehiveadmin \ Temp-19e-5e5-cab-19-cab35 ae3a-b780b7bb6400 "; AutoParameterizationWebConfigConnectionStrings = false; Configuration = Release / p: SolutionDir = "D:. \ Main \ site \ storage \" An error occurred while deploying the website. D: \ Program Files (x86) \ SiteExtensions \ Kudu \ 1.26.30329.722 \ bin \ scripts \ starter.cmd D: \ home \ site \ deployments \ tools \ deploy.cmd
Any ideas how to fix this?
typescript azure
Michael
source share