Did you know… How to hide or show the "Project location is not trusted" message box? – #166


When you attempt to open a project hosted on a UNC share (e.g. \\server\folder) you’ll get the following warning message box:

Project Location is not trusted warning

If you need to show this message again, but clicked the "do not show," you can go to Tools – Options – Projects and Solutions – General, and check the Warn user when the project location is not trusted checkbox.

warn about UNC share not trusted option

And for more information on why UNC shares are not trusted or what to do about it, here’s a pointer to the help documentation.

Comments (7)

  1. Nidonocu says:

    Ah! Finally that’s where it is! This also applies when I download code samples online in IE and after extracting the zip of a solution, the entire set of files for the libraries are marked with that property and makes this message appear! Unless I remember to ‘Unblock’ the zip first, this is very annoying!

  2. Rick says:

    I’ve been looking for this solution for months. Ok, not the "how-to-hide", but what to do about it!

  3. saraford says:

    sweet!  glad you found your solution.  go tip of the day!

  4. user says:

    I would never even try to open a project using a UNC path anyway. Maybe you know also how to hide the "TFS is not there" message box? Or the "Project changed. Wanna reload it?" message box? That would really make me more productive.

  5. Shane Wilson says:

    Just what is was looking for!  Every now and then, Visual Studio prompts me with this dialog about projects I’ve created, and it really annoyed me.  Thank you!

  6. We had the case that a developer moved his "Documents and Settings" folder to a synchronized network share.

    All new .NET Projects (in it’s default location) would not start. Why? They are built on a network share, but you don’t recognize it is a share. It’s "My documents" …

    Martin