Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Set BuildAction to TypeScriptCompile when installing from nuget #7

Open
johnnyreilly opened this issue Nov 6, 2013 · 2 comments
Open

Comments

@johnnyreilly
Copy link
Member

Copied over from this issue raised by @nvivo :

DefinitelyTyped/DefinitelyTyped#1138

Since 0.9, VS automatically references every typescript file without the need to add a references command to each file.

But this only works if the BuildAction is set to TypeScriptCompile, so the nuget packages should set the build action correctly when they are installed.

Currently, I set this manually but it resets to Content on every update causing lots of compilation errors until it is fixed.

@staxmanade
Copy link
Member

Anyone know any tricks on how to set the BuildAction?

@johnnyreilly
Copy link
Member Author

I found this: http://stackoverflow.com/questions/7423564/specify-build-action-of-content-nuget/7427431#7427431

However - I'm stumped when it comes to tracking down the TypeScriptCompile enum...

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants