darking050
darking050

Reputation: 637

Cant trust a project .DLL on a network location

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:-

  1. Windows 8 64bit RC, With Visual Studio 2010 installed.
  2. 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.

Plz help.

Upvotes: 0

Views: 2021

Answers (1)

Andrew St
Andrew St

Reputation: 21

There is a thread regarding a similar issue:

Error building Visual Studio 2010 Silverlight 4 projects on Windows 7 with XP Mode

Adding the <loadFromRemoteSources enabled="true"/> under <configuration> <runtime> in devenv.exe.config actually fixed "This assembly may have been downloaded from the Web" issue for me in VS2010, give it a try.

Upvotes: 2

Related Questions