我收到程序集加载问题,在VS中获取此日志,我怎么知道这里发生了什么,程序集已经在gac中
=== Pre-bind state information ===
LOG: DisplayName = FruitFactory.Features, Version=1.0.0.0, Culture=neutral, PublicKeyToken=993748c7d43a763c
(Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/Microsoft Visual Studio 11.0/Common7/IDE/Extensions/Microsoft/SharePoint/
LOG: Initial PrivatePath = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\SharePoint\VstspCache2484
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\SharePoint\vssphost5.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: FruitFactory.Features, Version=1.0.0.0, Culture=neutral, PublicKeyToken=993748c7d43a763c
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
答案 0 :(得分:0)
我重新安装了VS 2012并重新启动了服务器,它解决了我的问题......