Could not load file or assembly HRESULT: 0x80131515 (When adding controller to MVC project that has assembly references on network drive)

前端 未结 10 1441
伪装坚强ぢ
伪装坚强ぢ 2020-11-27 11:55

I\'ve seen this: VSTS 2010 SGEN : error : Could not load file or assembly (Exception from HRESULT: 0x80131515) and none of the answers work. It also doesn\'t appear when I b

10条回答
  •  孤街浪徒
    2020-11-27 12:14

    These solutions did not work for me either.

    In my case, I was accessing files on a mapped network drive. The solution for me was to add my network IP address as a trusted drive by doing the following:

    1. Control Panel
    2. Network and Sharing Center
    3. Internet Options (bottom left of window)
    4. Security Tab
    5. Select "Local intranet"
    6. Click "Sites" button
    7. Click "Advanced" button
    8. Add the IP of your network drive to the zone.

    Not sure what made this work over all other options, but this is what solved the problem for me. All project and solutions now build with no issues.

提交回复
热议问题