Visual studio 2013 然而,又遇到了另一个例外。这可能是由扩展引起的

Visual studio 2013 然而,又遇到了另一个例外。这可能是由扩展引起的,visual-studio-2013,Visual Studio 2013,每次我在Visual Studio 2013(ultimate)中打开项目时,它都会显示一个恼人的弹出窗口,并显示以下错误消息: 遇到异常。这可能是由扩展引起的 通过检查文件“C:\Users\john\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml”,可以获得更多信息 1-下面是我的ActivityLog.xml文件 2-此文件位于VisualStudio\12.0\ActivityLog.xml(已安装的版本为12而不是

每次我在Visual Studio 2013(ultimate)中打开项目时,它都会显示一个恼人的弹出窗口,并显示以下错误消息: 遇到异常。这可能是由扩展引起的

通过检查文件“C:\Users\john\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml”,可以获得更多信息

1-下面是我的ActivityLog.xml文件

2-此文件位于VisualStudio\12.0\ActivityLog.xml(已安装的版本为12而不是13)中。这是因为我已经卸载了visual studio 2012,不知道是否可以更改ActivityLog.xml的路径,或者这不是一个问题

另外,我已经看过了。 这也是我一个接一个卸载的扩展列表,但是错误仍然存在

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
    <xsl:output method="html"  encoding="utf-16"/>
    <xsl:template match="activity">
        <head>
        <title>Activity Monitor Log</title>
        <style type="text/css">
            body{ text-align: left; width: 100%;  font-family: Verdana, sans-serif; }

            table{ border: none;  border-collapse: separate;  width: 100%; }

            tr.title td{ font-size: 24px;  font-weight: bold; }

            th{ background: #d0d0d0;  font-weight: bold;  font-size: 10pt;  text-align: left; }
            tr{ background: #eeeeee}
            td, th{ font-size: 8pt;  padding: 1px;  border: none; }

            tr.info td{}
            tr.warning td{background-color:yellow;color:black}
            tr.error td{background-color:red;color:black}

            span {text-decoration:underline}
            a:hover{text-transform:uppercase;color: #9090F0;}
        </style>
        </head>

        <body>      
        <table>
            <tr class="title">
                <td colspan="7">Activity Monitor Log</td>
            </tr>             
            <tr>
                <td colspan="2">infos</td>
                <td colspan="5"><xsl:value-of select="count(entry[type='Information'])"/></td>
            </tr>
            <tr>
                <td colspan="2">warnings</td>
                <td colspan="5"><xsl:value-of select="count(entry[type='Warning'])"/></td>
            </tr>
            <tr>
                <td colspan="2">errors</td>
                <td colspan="5"><xsl:value-of select="count(entry[type='Error'])"/></td>
            </tr>
            <tr>
                <th width="20">#</th>
                <th width="50">Type</th>
                <th>Description</th>
                <th width="280">GUID</th>
                <th>Hr</th>                
                <th>Source</th>
                <th>Time (UTC)</th>
            </tr>               
            <xsl:apply-templates/>
        </table>

        </body>
    </xsl:template>

    <xsl:template match="entry">
        <!-- example 

          <entry>
            <record>136</record>
            <time>2004/02/26 00:42:59.706</time>
            <type>Error</type>
            <source>Microsoft Visual Studio</source>
            <description>Loading UI library</description>
            <guid>{00000000-0000-0000-0000-000000000000}</guid>
            <hr>800a006f</hr>
            <path></path>
        </entry>

        -->
        <xsl:choose>

            <xsl:when test="type='Information'">
                    <tr id="info" class="info">
                        <td><xsl:value-of select="record"/></td>
                        <td></td>
                        <xsl:call-template name="row"/>
                    </tr>                
            </xsl:when>                

            <xsl:when test="type='Warning'">
                    <tr id="warning" class="warning">
                        <td><xsl:value-of select="record"/></td>
                        <td>Warning</td>
                        <xsl:call-template name="row"/>
                    </tr>                
            </xsl:when>             

            <xsl:when test="type='Error'">
                    <tr id="error" class="error">
                        <td><xsl:value-of select="record"/></td>
                        <td>ERROR</td>
                        <xsl:call-template name="row"/>
                    </tr>                
            </xsl:when>                

        </xsl:choose>  

    </xsl:template>

    <xsl:template name="row">
                <td id="description"><xsl:value-of select="description"/><xsl:if test="path"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<xsl:value-of select="path"/></xsl:if></td>
                <td id="guid"><xsl:value-of select="guid"/></td>    
                <td id="hr"><xsl:value-of select="hr"/></td>    
                <td><xsl:value-of select="source"/></td>    
                <td><xsl:value-of select="time"/></td>
    </xsl:template>            

</xsl:stylesheet>


活动监视器日志
正文{文本对齐:左;宽度:100%;字体系列:Verdana,无衬线;}
表{边框:无;边框折叠:单独;宽度:100%;}
tr.title td{font size:24px;font-weight:bold;}
th{背景:#d0d0;字体大小:粗体;字体大小:10pt;文本对齐:左;}
tr{背景:#eeeeee}
td,th{font size:8pt;padding:1px;border:none;}
tr.info td{}
tr.warning td{背景色:黄色;颜色:黑色}
tr.error td{背景色:红色;颜色:黑色}
span{文本装饰:下划线}
a:悬停{文本转换:大写;颜色:#9090F0;}
活动监视器日志
信息
警告
错误
#
类型
描述
指南
人力资源
来源
时间(UTC)
警告
错误

&160         
  • 转到工具

  • 选择“扩展和更新”

  • 选择“更新”

  • 安装最新的Visual studio更新5(适用于我的VS2013更新5)


  • 这将修复一切。

    修复取决于在activity.log XML中看到的错误 以下面的错误为例

    该错误明确指出加载“Azure工具”包时出现问题

    修复:

    • 转到工具->扩展和更新
    • 在“联机”或“更新”下搜索软件包并安装它
    • 重新启动Visual studio

      • 我也遇到了同样的问题,我只清除了临时文件夹,现在它可以工作了。临时文件夹路径:

        C:\Users[用户名]\AppData\Local\Temp


        您是否在链接到的帖子中采取了任何操作,例如重新安装VS2013?在“控制面板”->“程序和功能”中,如果右键单击VS2013条目,您将获得一个选项“更改”,该选项应具有“修复”选项。yap!但我不希望我的最后一个选择是重新安装Windows 8,然后重新安装VS 2013!在安装了update 5之后,我仍然每天都会收到这个消息。我认为这取决于安装了什么扩展。