Visual Studio 2015-WindowsBase版本4.0.0.0-错误-包含devenv.exe日志文件 [英] Visual Studio 2015 - WindowsBase version 4.0.0.0 - error - devenv.exe log file included

查看:168
本文介绍了Visual Studio 2015-WindowsBase版本4.0.0.0-错误-包含devenv.exe日志文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Ran devenv.exe/log c:\ vs-log.log退出.

Ran devenv.exe /log c:\vs-log.log to get out put.

我该如何解决? devenv.exe/safemode和devenv.exe/resetsettings不起作用.

How can I resolve this? devenv.exe /safemode and devenv.exe /resetsettings do NOT work.

以下是令人反感的行:

  < entry>
    < record> 25</record>
    < time> 2016/12/26 01:25:20.705</time>
    < type>错误</type>
    < source> VisualStudio</source>
    < description> SetSite程序包[异步查询服务程序包]失败     < guid> {DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
    < hr> 8007000b</hr>
    < errorinfo>无法加载文件或程序集"WindowsBase,版本= 4.0.0.0,区域性=中性,PublicKeyToken = 31bf3856ad364e35"或其依赖项之一.试图加载格式错误的程序.</errorinfo>
  </entry>
  < entry>
    < record> 26</record>
    < time> 2016/12/26 01:25:20.707</time>
    < type>错误</type>
    < source> VisualStudio</source>
    < description>结束包加载[异步查询服务包]</description>
    < guid> {DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
    < hr> 8007000b</hr>
    < errorinfo>无法加载文件或程序集"WindowsBase,版本= 4.0.0.0,区域性=中性,PublicKeyToken = 31bf3856ad364e35"或其依赖项之一.试图加载格式错误的程序.</errorinfo>
  </entry>

  <entry>
    <record>25</record>
    <time>2016/12/26 01:25:20.705</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [Async Query Service Package]</description>
    <guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
    <hr>8007000b</hr>
    <errorinfo>Could not load file or assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. An attempt was made to load a program with an incorrect format.</errorinfo>
  </entry>
  <entry>
    <record>26</record>
    <time>2016/12/26 01:25:20.707</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>End package load [Async Query Service Package]</description>
    <guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
    <hr>8007000b</hr>
    <errorinfo>Could not load file or assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. An attempt was made to load a program with an incorrect format.</errorinfo>
  </entry>

推荐答案

我在"C:\ Program Files(x86)\ Microsoft"中找到了dll的正确版本. Visual Studio 14.0 \ Common7 \ IDE \ Extensions \ dg14a1ck.mh1 \ WindowsBase.dll"

I found the correct version of the dll in "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\dg14a1ck.mh1\WindowsBase.dll"

我尝试使用gacutil -i将其添加到GAC中并得到:

I attempted to add it to the GAC using gacutil -i and got:

"将程序集添加到缓存失败:  试图加载格式错误的程序."

"Failure adding assembly to the cache:   An attempt was made to load a program with an incorrect format."

该dll是否已损坏?


这篇关于Visual Studio 2015-WindowsBase版本4.0.0.0-错误-包含devenv.exe日志文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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