Where Can I Download Microsoft.Phone.WinJS.2.1?

血红的双手。 提交于 2019-12-04 14:52:21

The final release of Visual Studio seems to have resolved this issue.

http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs

Eric Schmidt

The Windows Phone SDK should have been installed when you installed the Visual Studio 2013 Ultimate Update 2 RC.

The files should be located here: C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\ExtensionSDKs\Microsoft.Phone.WinJS.2.1\1.0\DesignTime\CommonConfiguration\Neutral\Microsoft.Phone.WinJS.2.1\js

When you create a C# project, is it a Silverlight project or a Windows Runtime project?

Okay, I've been talking to the Visual Studio team about this.

Did you happen to install the "Visual Studio 2013 Extensions for the Windows Library for JavaScript"? http://www.microsoft.com/en-us/download/details.aspx?id=40793 (In the Programs and Features list, it will appear as "Visual Studio Extension for Windows Library for JavaScript".)

If so, you'll need to uninstall it. The order for uninstall is:

  1. Visual Studio 2013
  2. Visual Studio Update 2 RC
  3. "Visual Studio Extension for the Windows Library for JavaScript"

After the uninstall, reinstall in this order:

  1. Visual Studio 2013
  2. Visual Studio Update 2 RC

Of course, all of this assumes that you've already upgraded your development environment to Windows 8.1. These projects will only work on a Windows 8.1 machine.

I hope that this helps. If not, we can try something else.

I had the same problem and I tried all above none of them work. However the following worked for me:

1-) Uninstall Visual Studio extensions for Javascript

2-) Uninstall visual studio 2013

3-) Install visual studio 2013 with Update 2 RC from the following link (it is VS + update 2 bundled)

http://www.microsoft.com/en-us/download/confirmation.aspx?id=42303

Above link is for Premium edition. Find the relevant link accoringly.

P.S It is quite lame that when you uninstall Visual studio , it doesn't uninstall some of its addins. And you have lot of remaining artifacts :(

Andy (and potentially others running into this issue)....

We are currently investigating into this issue to understand the root cause. If this issue is blocking you from development, the recommendation is to perform the following steps "carefully". If these steps do not help, then please let us know!

  1. Uninstall Visual Studio 2013 from Programs and Features
  2. Reboot machine if prompted
  3. Delete or rename these folders- I. \Documents\Visual Studio 2013 II. C:\Program Files (x86)\Microsoft Visual Studio 12.0 III. C:\Program Files\Microsoft Visual Studio 12.0 IV. \AppData\Roaming\Microsoft\VisualStudio\12.0 V. \AppData\Local\Microsoft\VisualStudio\12.0 VI. C:\Program Files (x86)\Microsoft Visual Studio 12.0 VII. C:\Program Files (x86)\Microsoft XDE\8.1 VIII. C:\Program Files (x86)\Microsoft SDKs\Windows Phone\ IX. C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneAppx\ X. C:\Program Files (x86)\Windows Phone Silverlight Kits XI. C:\Program Files (x86)\Windows Phone Kits XII. C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhone XIII. C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneAppx XIV. C:\Program Files (x86)\Common Files\Microsoft Shared\Phone Tools
  4. Go to the registry editor (start >> run >> regedit) and remove/rename the following registries- I. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0 II. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\12.0 III. HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0 IV. HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config
  5. Download the .iso image of Visual Studio 2013 preferably using the relevant MSDN account
  6. Extract the .iso file by using an extraction tool, such as WinRar (http://www.rarlab.com/rar/winrar-x64-401.exe) remember to associate .iso extension with WinRar during its setup
  7. Install Visual Studio 2013 using this extracted setup
  8. Install the Visual Studio Update 2 RC from here: _http://www.microsoft.com/en-us/download/details.aspx?id=42307
  9. Check if the templates are appearing
  10. You can then install the Windows Phone standalone SDK from here: _https://dev.windowsphone.com/en-us/downloadsdk or through the Visual Studio extensions.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!