Feb 9, 2012

Unable to load the metadata for assembly ''. This assembly may have been downloaded from the web. See http://go.microsoft.com/fwlink/?LinkId=179545. The following error was encountered during load: Could not load file or assembly '' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)


Solution: 

Unable to load the metadata for assembly ''. This assembly may have been downloaded from the web. See http://go.microsoft.com/fwlink/?LinkId=179545.  The following error was encountered during load: Could not load file or assembly '' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

In WPF project to allow the project to load from remote source we have to enable it in the configuration file devenv.exe.config.

Step 1: Search the configuration file devenv.exe.config in your system. Usually it is located at
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config

Step 2: Edit the configuration file. Add following line in the <runtime> tag

<loadFromRemoteSources enabled="true" />

Step3: Restart your visual studio.

5 comments:

  1. Anonymous6/20/2012

    THANK YOU SO MUCH! This fixed my issue!

    ReplyDelete
  2. Anonymous8/21/2012

    Thanks!!! If only I'd found this in the morning.
    FYI VS2010 Express file is VPDExpress.exe .

    ReplyDelete
  3. Anonymous8/27/2012

    Thank you very much! That helped me! :)

    ReplyDelete
  4. Anonymous9/13/2012

    Thanks very much, buddy, you are a lifesaver!!

    ReplyDelete
  5. Anonymous2/20/2013

    I've spent a whole night with this problem ... no help from MS or relatet site. But now it works. Thanks you very much for your posting.
    Peter

    ReplyDelete