gpt4 book ai didi

crash - Visual Studio 2017在启动时崩溃

转载 作者:行者123 更新时间:2023-12-03 15:52:58 25 4
gpt4 key购买 nike

VS运行一段时间后,它在启动时突然(有时在扩展程序更新后,有时没有明显的原因)崩溃,并显示消息框“未知错误”。我从DEV命令行尝试了/ safemode-同样的结果。
我从DEV命令行使用/ log xxx创建了一个日志文件。请参见下面的摘录。
该问题在我和我的同事工作站上多次出现。我们可以删除应用程序设置并启动VS-当然,我们必须再次对其进行配置。一段时间后-相同。我们使用非管理员帐户。当我们切换到另一个帐户时,VS会正常启动。有人可以帮忙吗?数周以来,我们一直遇到这个问题。

....
<entry>
<record>29</record>
<time>2017/05/18 15:03:58.407</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Importing pkgdef file</description>
<path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\master.pkgdef</path>
</entry>
<entry>
<record>30</record>
<time>2017/05/18 15:03:58.407</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Importing pkgdef file</description>
<path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\ClassDesigner_REG_27921.3643236F_FC70_11D3_A536_0090278A1BB8.pkgdef</path>
</entry>
<entry>
<record>31</record>
<time>2017/05/18 15:03:58.407</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Failed to process PkgDef file</description>
<hr>80070005 - E_ACCESSDENIED</hr>
<path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\ClassDesigner_REG_27921.3643236F_FC70_11D3_A536_0090278A1BB8.pkgdef</path>
</entry>
<entry>
<record>32</record>
<time>2017/05/18 15:03:58.407</time>
<type>Error</type>
<source>VisualStudio</source>
<description>PkgDef loading aborted</description>
<hr>80070005 - E_ACCESSDENIED</hr>
</entry>
....

TIA,马蒂亚斯

最佳答案

我遇到了类似的问题,因为我找不到任何锁定文件,所以Visual Studio 2017 crashes on startup中提出的解决方案对我不起作用。对我唯一有效的方法是删除C:\ Users \ username \ AppData中的privateregistry.user.bin \ Local \ Microsoft \ VisualStudio \ 15.0_cb69e3d5

您将需要在启动时重置设置,但至少要使用VS启动。

关于crash - Visual Studio 2017在启动时崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44051829/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com