VS Can't clean/build/deploy -已损坏的.net framework

本文关键字:deploy 已损坏 framework net build VS clean Can | 更新日期: 2023-09-27 18:09:47

我已经开始使用VS和Xamarin进行开发。安卓系统,制作自己的应用程序。从今天早上开始,我无法清理/构建/部署任何项目,因为VS正在冻结。我正在使用VS15社区(最新版本)和Xamarin 4.1.2(其他版本也不能正常工作)。这发生在我对VS.

进行修复之后。

我做了一个日志文件,对我来说,似乎有一些注册表文件损坏由于。net框架:

<entry>
    <record>620</record>
    <time>2016/09/30 16:52:00.948</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>621</record>
    <time>2016/09/30 16:52:00.948</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>622</record>
    <time>2016/09/30 16:52:00.948</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>623</record>
    <time>2016/09/30 16:52:00.948</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>624</record>
    <time>2016/09/30 16:52:00.948</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>625</record>
    <time>2016/09/30 16:52:00.948</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>626</record>
    <time>2016/09/30 16:52:00.949</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>627</record>
    <time>2016/09/30 16:52:00.949</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>628</record>
    <time>2016/09/30 16:52:00.949</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>629</record>
    <time>2016/09/30 16:52:00.949</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>630</record>
    <time>2016/09/30 16:52:00.949</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>631</record>
    <time>2016/09/30 16:52:00.949</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>632</record>
    <time>2016/09/30 16:52:00.949</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>633</record>
    <time>2016/09/30 16:52:00.949</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>634</record>
    <time>2016/09/30 16:52:00.949</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>635</record>
    <time>2016/09/30 16:52:00.949</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>636</record>
    <time>2016/09/30 16:52:00.950</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>637</record>
    <time>2016/09/30 16:52:00.950</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>638</record>
    <time>2016/09/30 16:52:00.950</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>639</record>
    <time>2016/09/30 16:52:00.950</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>640</record>
    <time>2016/09/30 16:52:00.950</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>641</record>
    <time>2016/09/30 16:52:00.950</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>642</record>
    <time>2016/09/30 16:52:00.950</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>643</record>
    <time>2016/09/30 16:52:00.950</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>644</record>
    <time>2016/09/30 16:52:00.950</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>645</record>
    <time>2016/09/30 16:52:00.950</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>646</record>
    <time>2016/09/30 16:52:00.950</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>647</record>
    <time>2016/09/30 16:52:00.950</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>648</record>
    <time>2016/09/30 16:52:00.950</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>649</record>
    <time>2016/09/30 16:52:00.950</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>650</record>
    <time>2016/09/30 16:52:00.950</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>651</record>
    <time>2016/09/30 16:52:00.951</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>652</record>
    <time>2016/09/30 16:52:00.978</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Done loading new toolbox content, total time = 281 ms</description>
  </entry>

这也发生在一个新的空白创建的应用程序。我还尝试用MS修复工具修复。net Framework,并删除了控制面板中的。net Framework文件。目前我正在做"sfc/scannow"。接下来将完全重新安装VS…

有什么建议吗?

VS Can't clean/build/deploy -已损坏的.net framework

这可能是由于解决方案文件损坏造成的。在文件资源管理器中,导航到项目的目录,找到. so文件,然后删除它。它应该在MyProject'.vs'MyProject'v14之类的地方。或者打开你的项目目录,搜索"*.suo"。文件将被隐藏,所以请确保您打开了查看隐藏文件的选项。