我已经开始使用VS和Xamarin.Android开发自己的应用程序了。 从今天早上开始,我无法清理/构建/部署任何项目,因为VS正在冻结。 我正在使用VS15社区(最新版本)和Xamarin 4.1.2(其他版本也不起作用)。这是在我修复VS之后发生的。
我创建了一个日志文件,对我来说,似乎有一些注册表文件因.NET Framework而损坏:
<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 ......
有什么建议吗?
答案 0 :(得分:1)
由于解决方案文件已损坏,可能会发生这种情况。在文件资源管理器中,导航到项目的目录,找到.suo文件,然后将其删除。它应该像MyProject \ .vs \ MyProject \ v14。或者只需打开项目目录并搜索“* .suo”。该文件将被隐藏,因此请确保打开该选项以查看隐藏文件。