Visual Studio 2015更新2不显示通用Windows模板

Xperience博士

我正在Windows 10 Build 14332上使用Visual Studio 2015 Enterprise Update2。它没有显示通用模板(下面的屏幕截图) 在此处输入图片说明

虽然它在Windows 8下显示为Universal。而且我认为它不是UWP中的Universal(不是吗?)。

我尝试了什么?

  1. 我尝试使用/ Force选项卸载它,然后检查Universal Windows Platform重新安装它。
  2. 我尝试使用我在GitHub上找到的VisualStudioUninstaller(Link)工具卸载它,然后检查Universal Windows Platform重新安装了它
  3. 我已经尝试过使用模拟器创建新的Windows 10周年纪念版SDK。但是我仍然看不到通用Windows模板。

I have googled about it not able to find a solution for it.

Dr. Xperience

As suggested by @karann. I seems Microsoft have addressed this issue and fixed it Microsoft Visual Studio Update 3 RC. After updating my Visual Studio Enterprise Update 2 to Microsoft Visual Studio Update 3 RC I am having UWP templates.

In case anyone else is still stumpped. You may follow this Post on MSDN forum where I launched same issue and they provided an extensive set possible solution.

I don't know whether I am allowed to but I am still posting the probable solutions mentioned in the link. (I am paraphrasing)

According to your description, it looks like the UWP development tools (1.3) and Windows 10 SDK (10.0.10586) maybe not installed correctly with VS 2015 update 2, please go to Control Panel—Programs and Features, select the VS 2015 with Updates item to change and Modify, see if the Tool (1.3) and Windows 10 SDK (10.0.10586) option as below is selected or not. In my side, after installed the VS 2015 Update 2, this option is auto-selected, which means the tools (1.3) is installed successfully, and I can create a new UWP project.

As Yoann said, please refer to this thread: https://social.msdn.microsoft.com/Forums/en-US/fe4f3ea0-245d-4189-988d-6759d1d726d2/uwpxaml-designer-failed-to-load-on-vs2015-pro-update-2?forum=visualstudiogeneral&prof=required and if the above tool (1.3) was not installed, please follow the solutions as following:

Magellan82: After investigation I noticed that Tools for Universal Windows App 1.3 never got installed. If you run the setup again and choose modify you will see that Tools for Universal Windows App 1.3 is not checked. If you try to install it, it will go through the installation and everything seems ok. But is it not. It never installs. After checking the installation logs I noticed that the installation actually fails with a BootStrapper error. This is often connected to corrupt .NET installations. I then tried to deactivate and activate .NET 3.5 but this didn't help. Then I tried to deactivate .NET 3.5 and ran the setup and added Tools for Universal Windows App 1.3 again. To my surprise it then ran through the installation with no errors and the designer worked.

NGame-IranDev: Only thing you guys need to check is: Programs and features -> Microsoft VS2015 -> Select Change -> Goto Modify and check if the SDK v1.3 is surely installed. if it didn't try to install it and double check the installation file and make sure that now sdk v1.3 is installed. if it weren't install and check over and over to be success at last. If you finally get success in installation of SDK v1.3 your XAML designer problem will surely gone.

Andrec: Installed ".NET Framework 3.5 (includes .NET 2.0 and 3.0)" via "Turn Windows features on or off". Used Visual Studio installer from control panel which now is able to add the tools.

Holly Ta (MSFT): I had this same issue when I was updating yesterday. My solution: Go to Settings. Choose Update & Security then For developers; uncheck developer mode and check side load apps. Open Visual Studio, start a new project under the first Windows expander should be Universal, click it to start download and update of UWP templates. Once complete Switch the setting back to developer mode and open VS. All of the templates should be there now.

Sara Liu(MSFT CSG): n情况下,缺少UWP模板,请转到项目模板存储文件夹,如C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ ProjectTemplates,然后检查CSharp / Windows根目录和CSharp / Windows文件夹是否存在。如果存在,请打开管理CMD窗口并导航到C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \ IDE并运行命令:devenv / installvstemplates再次安装默认的VS模板。

来源:LinkLink2

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章