移动用户控件时Visual Studio Designer崩溃 - 将x解析为版本的异常 [英] Visual Studio Designer crashes when moving user control - Exception parsing x as a version

查看:87
本文介绍了移动用户控件时Visual Studio Designer崩溃 - 将x解析为版本的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio Professional 2017,v 15.9.3 / .NET v 4.7.03062

Visual Studio Professional 2017, v 15.9.3 / .NET v 4.7.03062

我正在尝试在Designer中添加一些用户控件。我可以将它们添加到设计器中,但如果我尝试通过Document Outline将它们拖放到容器下,则Visual Studio会崩溃。这发生在2台不同的机器上。

I have some user controls I'm trying to add in the Designer. I can add them to the designer, but if I try to drag them under a container via the Document Outline then Visual Studio crashes. This happens on 2 separate machines.

我已经尝试清理AppData中的缓存(本地和漫游),并运行devenv / safemode和devenv / resetsettings。

I have tried cleaning the caches in AppData (local & roaming), and running devenv /safemode and devenv /resetsettings.

活动日志错误:

< entry>

  &NBSP; < record> 1054< / record>

  &NBSP; < time> 2019/02/07 12:39:14.176< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析Windows Presentation Foundation(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1055< / record>

  &NBSP; < time> 2019/02/07 12:39:14.176< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析广告(在HKEY_LOCAL_MACHINE \Software \ Microoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1056< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析AssemblyFolders(在HKEY_LOCAL_MACHINE \ Software &\\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1057< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析Fusion(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1058< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析NGen(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1059< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析NGenQueue(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1060< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析策略(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1061< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析安全性(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1062< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析Windows Presentation Foundation(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1063< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析广告(在HKEY_LOCAL_MACHINE \Software \ Microoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1064< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析AssemblyFolders(在HKEY_LOCAL_MACHINE \ Software &\\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1065< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析Fusion(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1066< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析NGen(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1067< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析NGenQueue(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1068< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析策略(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1069< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析安全性(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

  < entry>

  &NBSP; < record> 1070< / record>

  &NBSP; < time> 2019/02/07 12:39:14.177< / time>

  &NBSP; < type>错误< / type>

  &NBSP; < source> Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage< / source>

  &NBSP; < description>异常解析Windows Presentation Foundation(在HKEY_LOCAL_MACHINE \Software\Microsoft \ .NETFramework下)作为版本< / description>

  < / entry>

<entry>
    <record>1054</record>
    <time>2019/02/07 12:39:14.176</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing Windows Presentation Foundation (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1055</record>
    <time>2019/02/07 12:39:14.176</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing Advertised (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1056</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing AssemblyFolders (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1057</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing Fusion (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1058</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing NGen (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1059</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing NGenQueue (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1060</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing policy (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1061</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing Security (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1062</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing Windows Presentation Foundation (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1063</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing Advertised (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1064</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing AssemblyFolders (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1065</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing Fusion (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1066</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing NGen (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1067</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing NGenQueue (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1068</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing policy (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1069</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing Security (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>
  <entry>
    <record>1070</record>
    <time>2019/02/07 12:39:14.177</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage</source>
    <description>Exception parsing Windows Presentation Foundation (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version</description>
  </entry>

推荐答案

> Visual Studio Professional 2017,v 15.9.3 / .NET v 4.7.03062

>Visual Studio Professional 2017, v 15.9.3 / .NET v 4.7.03062

尝试使用最新版本(目前为15.9.6)。如果您仍然可以重现它,请使用VS报告问题工具将其报告给
MS。

Try with the latest version (15.9.6 currently). If you can still reproduce it, use the VS Report A Problem facility to report it to
MS.

确保您提供简单的复制并清楚说明如何重现问题,它应该被看到。

Ensure you provide a simple repro and clear instructions on how to reproduce the problem, and it should get seen to.

戴夫


这篇关于移动用户控件时Visual Studio Designer崩溃 - 将x解析为版本的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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