Microsoft
Software
Hardware
Network
Question : "The project location is not trusted." error when in XP Mode
When I open my Visual Studio 2008 project (a VB.NET desktop application), I get the following error message.
The project location is not trusted.
\\tsclient\E\ {remainder of project path withheld by me}
Running the application may result in security exceptions when it attempts to perform actions requiring full trust.
*** NOTE: This error only occurs when I open the project within XP Mode on Windows 7. ***
Following recommendations in articles I'd Googled, I tried adding a new code group with Full Trust under the Microsoft .NET 2.0 Configuration tool, but either I have done something wrong or this approach is not the answer.
In the .NET 2.0 configuration tool, I added a new code group ("myCodeGroup") to All_Code, LocalIntranet_Zone, and I set the condition type = URL.
I then specified Full Trust for the following mapping
file://\\tsclient\E\*
However this doesn't seem to eliminate the error message. It seems that it has something to do with the fact that I am running under XP Mode
Answer : "The project location is not trusted." error when in XP Mode
No, it is because you are using UNC path for the project. Please read this article from MS
http://msdn.microsoft.com/
en-us/libr
ary/bs2bkw
xc.aspx
Goran
Random Solutions
ListView Column Sort By Click Natural Sorting
C#.NET - decrompress a zip file
Excel: restrict certain fields for particular person. Make new top of page for each Division.
Prevent Internet Explorer from opening a pdf file
Excel.exe caused a Fatal Exception Error
Function to check results
Excelhow to convert number of days to weeks and days.
VB.Net ERROR Message
Issue with License Activation - How do you add computers to KMS pool?
VBA using Search Worksheet Function to Find Question Marks (Tilde)