project location is not fully trusted
From: D'Hag (D'Hag_at_discussions.microsoft.com)
Date: 12/02/04
- Previous message: Marc Manz: "Problem with referenced projects"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 2 Dec 2004 10:41:03 -0800
"The project location is not fully trusted by the .NET runtime. This is
usually because it is either a network share or mapped to a network share not
on the local machine. If the output path is under the project location, your
code will not execute as fully trusted and you may receive unexpected
security exceptions." <OK> <Cancel> <Help>
I work on a project that has developers around the world, with a shared
Internet repository. When I download the latest version of the solution and
load the solution into Visual Studio.NET 2003, I get the message box above
for many of the projects in the solution.
Click "Help" and it says the same thing in more words, and offers no real
help. Following the suggested procedures therein gives no fix at all. This is
pretty funny, actually, since the projects that pop the message are NOT on a
network share. I have it installed on my local hard drive.
I have traced down the cause and a workaround. But a real "fix" eludes me.
I am running Windows XP Pro with Service Pack 2. This all started when I
installed SP2.
When I go to the folder where the project file is saved, and check the
properties of the project file itself, at the bottom of the General tab there
is this block (a new feature with SP2)--
"Security: This file came from another computer and might be blocked to help
protect this computer."
Next to that is a button, "Unblock."
If I click "Unblock," then "Apply" > "OK," then the project will load in
Visual Studio without popping the warning message.
I have been trying to find a security setting in WinXP SP2 that will stop
this behaviour, but I haven't found it yet. Can anybody else suggest a real
fix? The workaround, of course, is to open the Properties window on each of
the project files and "Unblock" them, one at a time. A real pain!
- Previous message: Marc Manz: "Problem with referenced projects"
- Messages sorted by: [ date ] [ thread ]