Richard Guzy
Richard Guzy

Reputation: 41

TeamCity output missing javascript files compiled by Typescript

We use MSBuild to build MVC application which works after deployment.

But we want to switch to Team City and we have a problem with typescript files. The build server does not contain javascript files which should be result of TypeScriptCompile build action. We get following error when running the build:

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets(182, 5): error MSB3030: Could not copy the file "Scripts\Common\arrayhelpers.js" because it was not found.

Does anybody have any idea how to resolve this issue?

Upvotes: 1

Views: 421

Answers (1)

Richard Guzy
Richard Guzy

Reputation: 41

Compiled js files was on the wrong place. We changed tsconfig.json file and now it works.

Upvotes: 1

Related Questions