0

I deleted a js file from Web express 2013 because the case was wrong :

go.js which was supposedly generated from go.js

How can I tell studio to regenerate the js file?

in the project I have:

 <TypeScriptCompile Include="ts\go.ts" />

but I still have the yellow triangle over the js file in solution explorer

3
  • Are you set to compile on build? Just re-building should result in a new JS file on the file system. Commented Dec 1, 2013 at 17:04
  • @SteveFenton please see my edit, both the .js and .map.js don't exist Commented Dec 1, 2013 at 17:12
  • @SteveFenton it complains that the don't exist Commented Dec 1, 2013 at 17:15

1 Answer 1

2

Sometimes a build error will mean no TypeScript output, so clearing build errors may allow the compiler to run and make the files.

If that doesn't work, pop your code somewhere safe so you can delete the file and re-add it from scratch (then copy your code back in).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.