Opening a VS2010 project from another location

Whenever I download Visual Studio 2010 projects from the Internet and open the solution I am always prompted by the following message “Security Warning for [project name]. You should only open projects from a trustworthy source”. The warning makes sense because who knows what the code will do and we all run virus scanners for a good reason.

image

Its easy enough to suppress the warning for multiple projects in the same solution but next time you open the solution you get prompted with the same security warning.

 

Fixing this is quite easy, just select the project file in the Windows Explorer, right click and open the files properties and click the Unblock button to tell Windows, and Visual Studio, that you trust the file.

image 

Of course you better be sure that you can trust the source code [:)]

 

Enjoy!

[f1]
[f2]

2 thoughts on “Opening a VS2010 project from another location

  1. Why would I get the same error when trying to create a new project, not open one from the web? I get it no matter what framework I choose and no matter what type of project I create.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>