问题描述
在运行Win 10 Pro的新Dell(内部版本10586)上新安装VS 2015 Community Edition版本14.0.24720.00 Update 1.
New install of VS 2015 Community Edition Version 14.0.24720.00 Update 1, on a new Dell running Win 10 Pro, build 10586.
我创建了新的C#Windows Universal Blank App.打开"MainPage.xaml",请参阅加载设计器提示,然后在设计器上发生未处理的异常. 错误消息在帖子结尾.
I created new C# Windows Universal Blank App. Opened "MainPage.xaml", see loading Designer prompt, then an unhandled exception occurs on the designer. Error message is at the end of post.
未添加任何代码或对空白项目进行了更改. 系统处于开发人员模式.
No code has been added or changes made to the blank project. The system is in Developer mode.
尝试修复并重新加载Visual Studio. 遵循了多个MSDN和Google关于类似错误的报告,但没有找到解决问题的方法.
Have tried repairing and reloading Visual Studio. Followed multiple MSDN and Google reports of similar errors, but found nothing that resolves problem.
尝试输入"Hello World"请遵循以下概述:https://msdn.microsoft.com/zh-cn/library/windows/apps/dn765018.aspx,并且该应用程序编译无误,然后调用调试器崩溃,并显示一条消息:无法执行激活Windows 商店应用".
Tried inputting a "Hello World" following this outline: https://msdn.microsoft.com/en-us/library/windows/apps/dn765018.aspx and the app compiles without error, then crashes calling the debugger, with a message: "Unable to activate Windows Store app".
有什么建议或想法吗?
拉里
会出现以下错误消息:
推荐答案
首先,请检查您的项目是否存储在Visual Studio的安装路径上.
First, please check whether your project is stored on the path where Visual Studio installed.
然后,请确保您已安装Windows 8.1和Windows Phone 8/8.1工具以及Windows 10 SDK.我也遇到同样的问题,因为缺少这些工具和SDK.否则,请安装Windows 8.1和Windows Phone 8/8.1工具. 从控制面板->程序和功能-> Visual Studio 2015->更改->从下面的链接修改并安装Windows 10 SDK.
Then please make sure you have install the Windows 8.1 and Windows Phone 8/8.1 Tools and Windows 10 SDK. I also has the same problem because lack of these Tools and SDK. If not, please install the Windows 8.1 and Windows Phone 8/8.1 Tools from Control Panel -> Program and Features -> Visual Studio 2015 -> Change -> Modify and install the Windows 10 SDK from below link.
https://dev.windows.com/en-us/downloads/windows-10 -sdk
此外,在运行Visual Studio 2015时,请关闭所有第三方软件,例如防病毒软件.并确保Windows的当前用户是管理员.如果不是,请更改其他用户以管理员身份运行Visual Studio.
Besides, please close all third part software when running Visual Studio 2015, such as antivirus. And make sure current user of Windows is administrator. If not, please change an other user to run Visual Studio as administrator.
此外,请使用 http://aka.ms/vscollect & amp; n安装日志.使用它之后,您将在%temp%文件夹中找到vslogs.cab.请将文件上传到Onedrive 在此处共享链接.
In addition, please use http://aka.ms/vscollect to gather the VS and .Net Frameowrk installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to Onedrive and share the link here.
最好的问候,
威威
Best Regards,
Weiwei
这篇关于VS 2015,C#设计器进程崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!