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
Lost JavaScript support in VS2015 RTM after updating to TypeScript 1.5.4 #4238
Comments
Same. JavaScriptWebExtensionsPackage fails to load. ActivityLog.xml shows: SetSite failed for package [JavaScriptWebExtensionsPackage] |
Does the IntelliSense work in a stand alone javascript file? |
Hi, This is a known bug that we have fixed, however you could have been affected if you installed the "tools for universal apps development" during a specific period of time. There is a post on our MSDN forums with some steps, and we will soon be publishing a KB with the following workaround: If the “Tools for Universal Windows Apps Development” are still installed:
If you have already uninstalled the “Tools for Universal Windows Apps Development”:
Sorry for the trouble. Hope that helps. |
Yep, that's it. |
My guess is that only reinstalling the SDK didn't update the MEF cache. You can do this manually by following these steps:
If that doesn't fix it, please redo the steps I outlined above, but toggle the outer 'Universal App Development Tools' as in the screenshot above - not just the SDK. If you don't want the emulators you should be able to uncheck that option afterwards. |
@mbraude Thank you, /updateconfiguration & /clearcache worked, error is gone. |
Faced the issue and got it fixed following the given steps. Thanks. |
After updating the windows universal app development tools, I was still getting the same error. I had to delete the directory: %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache Everything seems to be working again. Thanks. |
Хорошо иметь Google Translate близ. |
@YuryStrozhevsky @sguryev could you limit discussion to English and keep things on topic with the issue? Translators only go so far, so it's difficult for most of us on the team to follow. 😄 |
As per [a comment](microsoft/TypeScript#4238 (comment)) by @DanielRosenwasser I think we should put something related to language and tone in the wiki section. How this sounds?
Faced this issue and fixed now.. |
Same stuff after latest TypeScript update: same solution suggested worked for me, too. |
Great, doing the |
Hi, I'm having similar issue, i.e. opening any TypeScript file in VS2015 (TS 1.5.4.0) causes the error which is followed by automatic VS restart. I've also tried updateconfiguration and clearcache, no luck ufortunately
|
@migajek - I'm sorry for your trouble but this sounds like a different problem than what's discussed in this issue. |
@mbraude Thanks a lot! I didn't have to do the uninstall / reinstall. Just the /updateconfiguration and /clearcache switches. Fixed other problems for me as well, so bonus! Recent projects now show up in the recent projects list and my source control plugin now correctly flags the solution node when its status changes. |
This is still an issue with typescript 1.6.3. |
I'm sorry for your trouble @jimmymain, but I promise you the steps I outlined above will fix the issue. Please follow them exactly. |
I'm having the same trouble with VS 2015 Community Edition with the same error in the ActivityLog.
It may be worth noting that my installation is at C:\Program Files (x86)\Visual Studio Community 2015\Common7\IDE (my Visual Studio 14.0 directory is there, but virtually empty). I wasn't sure whether one of these two things is causing a unique situation, but it's quite frustrating! I want to push my (small) organization to use .NET 5.0 instead of Java for website building, and these issues are worrying. I don't want the general feel of .NET 5.0 to be "neat idea, but it's a pain to get it working properly". Edit: On a whim, I tried jonstelly's suggestion of deleting %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache folder, and that seems to solve the issue. It's worth noting that the two "approved" fixes didn't fix my issue, and this third one did the trick. |
@asleight where did you get the VS2015 Community Edition from, I've been running that and it consistently get's installed in the VS 14 folder. Glad you got the issue re-solved. |
Having still the same issue, and it comes up again with every new TS update.
My problem is that I can only fix it temporary. After a while, it pops up again and I have to go through all provided solutions again. What doesn't work:
What does work:
Again, those seem to be only temporary fixes. It works, I can create project files and classes and what not within VS, then suddenly the error appears again. One time I managed to completely resolve it, only to have it returned with the next TypeScript update. |
Hi @artganify. I'm sorry for your trouble. Unfortunately the steps you're following on stack overflow are wrong. They will fix the problem, but only temporality. The next time you do any setup action, such as installing a typescript update, it will revert the fix. Please follow the steps I outlined above three months ago. They will fix the problem permanently. |
cmd switches for devenv.exe helps with the same problem on VS 2013 update 5 too. Thanks. Finally the only thing that helped me is uninstalling of Visual Studio 2013 SDK. |
Followed the |
What is the exect problem with VS 2015 at all? Maybe if we can understand the main problem then we can understand how to solve it for all. And describe a problem for VS developer to create a update package that solves this problem. |
@daviatorstorm, the issue was caused by multiple updated overwriting the JS package. it is not related ot the TypeScript update, it just happened around the time the TS update was released. |
@daviatorstorm this has nothing to do with the OP. your JS intellesises seems to be loaded just fine. please file a different issue for the JS intellisense at https://visualstudio.uservoice.com/forums/121579-visual-studio-2015 |
@mbraude suggestion worked for me on 1.8.11 |
I completely lost JavaScript support in Visual Studio after updating to TypeScript 1.5.4:
Seems I'm not the only one:
http://stackoverflow.com/questions/31888115/visual-studio-2015-rtm-lost-js-support-after-update-typesript-tools
The text was updated successfully, but these errors were encountered: