Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScriptCompile on Visual Studio 2015 #5074

Closed
dirkrombauts opened this issue Jul 25, 2015 · 3 comments
Closed

TypeScriptCompile on Visual Studio 2015 #5074

dirkrombauts opened this issue Jul 25, 2015 · 3 comments

Comments

@dirkrombauts
Copy link

Hi,

I just upgraded the nuget packages of knockout.d.ts and jquery.d.ts in a solution in VS2015 that used to compile. Now the solution does not compile anymore, with lots of errors in those two d.ts files. If I set their build action to None, the error goes away (obviously). Judging from some other issues on this site, the build action of "TypeScriptCompile" is intentional ... so is there anything obvious I'm doing wrong? What information should I provide you so you can better understand?

@vvakame
Copy link
Member

vvakame commented Jul 28, 2015

@staxmanade ?

@staxmanade
Copy link
Member

Off hand, I don't have any ides.

Do any of the details in these links provide any clues?

http://stackoverflow.com/questions/30091947/typescript-compile-options-on-visual-studio-2015-rc
https://support.microsoft.com/en-us/kb/3025133
microsoft/TypeScript#2294

Hope this helps

@dirkrombauts
Copy link
Author

I found the solution: I needed to edit the project file and set the TypeScriptToolsVersion to 1.4 as described in http://stackoverflow.com/questions/28559674/100-errors-in-jquery-d-ts-since-getting-latest-via-nuget-in-mvc-application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants