Visual Studio 2017 - 空白应用程序 - 未处理的异常 [英] Visual Studio 2017 - Blank App - Unhandled exception

查看:219
本文介绍了Visual Studio 2017 - 空白应用程序 - 未处理的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone,


我是整个MSDN论坛的新手,所以我希望我能在正确的论坛中提出这个问题。


我刚刚安装了只有前三个工作负载的Visual Studio 2017社区,因此"通用Windows平台开发",".NET桌面开发"等等。和"使用C ++进行桌面开发"。


我想开发一个C#UWP应用程序,因此选择了UWP项目模板"空白应用程序"。


但是没有对应用程序进行任何修改,只是构建和调试应用程序,它会因未处理的异常而崩溃。


如果我选择的话似乎并不重要x86或x64配置,调试或发布。


我不太确定我还能尝试解决此问题,我也无法在谷歌上找到有关此例外的任何信息或在msdn。


btw。我正在使用Windows 10与秋季创建者更新,构建16299.19


任何帮助将不胜感激!!


异常消息:


App1.exe中0x00007FFA36133FB8(KernelBase.dll)的未处理异常:0xE0434352(参数:0xFFFFFFFF80131500,0x0000000000000000,0x0000000000000000,0x0000000000000000,0x00007FF9F6D50000)。


解决方案

嗨Riedmu,


欢迎来到MSDN论坛。


在VS 2017安装期间,您是否遇到任何问题或警告消息?请以管理员身份重新运行VS安装程序,然后选择"更多 - 修复"。


通常,对于VS崩溃问题,我们可以尝试缩小此问题,如下所示:


  1. 重新启动计算机并重新打开VS再次测试
  2. 运行
    VS安全模式
    它可以帮助我们确认它是否与已安装的扩展名相关。
  3. 以管理员身份运行VS
  4. 如果此问题仍然存在,请转到Windows事件查看器,在Windows日志下单击应用程序,
      在"操作"下单击"查找",搜索"PenlMC.dll" "如果出现此类错误消息,则每
    this
    但有其他错误信息,请在这里分享。



    < p style ="margin-bottom:12pt"> 最好的问候,


    萨拉


Hello Everyone,

I'm new to the whole MSDN forums, so i hope i ask this question in the right forum.

I've just installed Visual Studio 2017 Community with only the top three workloads, so "Universal Windows Platform development", ".NET desktop development" and "Desktop development with C++".

I want to develop a C# UWP application and therefor selected the UWP project template "Blank App".

But without any modifications to the app and by just building and debugging the app, it crashes with an unhandled exception.

It doesn't seems to matter if i choice the x86 or x64 configuration, debug or release.

I'm not quite sure what else i can try to fix this issue and i also can't find any information about this exception on google or on msdn.

btw. i'm using Windows 10 with the fall creators update, build 16299.19

Any help would be appreciated!!

The exception message:

Unhandled exception at 0x00007FFA36133FB8 (KernelBase.dll) in App1.exe: 0xE0434352 (parameters: 0xFFFFFFFF80131500, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x00007FF9F6D50000).

解决方案

Hi Riedmu,

Welcome to the MSDN forum.

Did you meet any issue or warning message during the VS 2017 installation? Please re-run the VS installer as administrator and choose More-Repair.

Usually, for the VS crash issue, we can try to narrow down this issue as below:

  1. Restart your machine and reopen VS to test it again
  2. Run VS with safe mode and it can help us to confirm whether it is relates to the installed extension or not.
  3. Run VS as administrator
  4. Clean up all folders and files under the folder: %LocalAppData%\Microsoft\VisualStudio\14.0\ and restart the VS 2015 to check it again.

If this issue persists, please go to Windows Event Viewer, under Windows Logs and click Application,  Under Action click Find, search for "PenlMC.dll" per this, if there has such error message but have other error message, please also share it in here.

Best regards,

Sara


这篇关于Visual Studio 2017 - 空白应用程序 - 未处理的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆