代码之家  ›  专栏  ›  技术社区  ›  daniel

Glimpse配置-不明确的资源

  •  1
  • daniel  · 技术社区  · 11 年前

    我试图在我的MVC4网站上运行Glimpse,但我遇到了错误:

    Ambiguous resource with name 'glimpse_config' found.
    

    当我运行/Glimpse.axd时。

    我按照文件上说的配置了它。我也尝试过删除和重新安装它,但没有成功。 我打开登录,它显示:

    2013-04-08 10:42:08.5762 | WARN | Multiple Resources with name of 'glimpse_ajax'. Resources should have unique names. | 
    2013-04-08 10:42:08.5762 | WARN | Multiple Resources with name of 'glimpse_client'. Resources should have unique names. | 
    2013-04-08 10:42:08.5762 | WARN | Multiple Resources with name of 'glimpse_config'. Resources should have unique names. | 
    ...
    
    2 回复  |  直到 11 年前
        1
  •  2
  •   James Skimming    11 年前

    在升级到snight 1.3后,我也遇到了同样的问题,对我有效的解决方案是清除临时ASP.NET文件,这些文件很可能在这里:

    %TEMP%\临时ASP.NET文件

    或此处:

    %USERPROFILE%\AppData\Local\Temp\临时ASP.NET文件

    看起来你也通过一瞥问题问过这个问题,我也在那里发布了 my answer .

        2
  •  0
  •   nikmd23    11 年前

    听起来您的bin目录中有多个DLL副本。(不知怎么的?)

    清理您的生成并重试。