I am having an issue of editing a Visual Studio project by which it is saved on a remote server at home.
First of all, my setup is:-
Windows 8 64bit RC, With Visual Studio 2010 installed.
Windows Server 2012 RC. With a Shared Folder accessed with an account (//Dev).
The problem here is from Windows 8 RC, I can access the share and create the projects I want. But if I build the project I got this error:-
Could not load the assembly file:///C:\***.dll. This assembly may have been downloaded from the Web. If an assembly has been downloaded from the Web, it is flagged by Windows as being a Web file, even if it resides on the local computer. This may prevent it from being used in your project. You can change this designation by changing the file properties. Only unblock assemblies that you trust. See http://go.microsoft.com/fwlink/?LinkId=179545 for more information.
I tried to unblock the .DLL file from its properties but the UNBLOCK button is not available.
Er, it's telling you that it can't load an assembly located at C:\****.dll
You've told us the assembly is on a remote share, thus probably not at C:\ something.
So, my psychic debugging skills tell me your dll is not located in the same place it was when you originally added a reference to it and so that reference is now pointing to the wrong place. Update your references and it'll work.
Adding the <loadFromRemoteSources enabled="true"/> under <configuration> <runtime> in devenv.exe.config actually fixed the "This assembly may have been downloaded from the Web" issue for me in VS2010, give it a try.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.