VS 2008 compilation/running over a network

  • Thread starter Carlos Andrés Guaneme Lugo
  • Start date
C

Carlos Andrés Guaneme Lugo

Hello everyone!

We're trying to compile/run an application in Visual Studio 2008 for Windows
Vista Business. The code of the application is located in a network drive
and we're getting the following error:
Failed to queue test run 'user@machine 2007-11-26 11:56:57': Test Run
deployment issue: The location of the file or directory
'\\pb\development\projects\documentmanagement.tests\bin\debug\documentmanagement.tests.dll'
is not trusted.

We had the same problem in Visual Studio 2005 for Windows XP SP2 but we
solved it by setting the appropriate values in the .Net Framework
configuration utility(Intranet Zone ... Fulltrust). However, we have not
been able to find such an option for Windows Vista and the Framework 3.5.

Any help is greatly appreciated!

Sincerely,

Carlos Guaneme
 
J

Jeff Jarrell

I don't have the VS2008, stuff but here is something we have been using. a
bat file that uses CasPol. Watch the wrapping the last line is
LocalIntranet_Zone FullTruse

----------------------------
@echo off
echo.
echo Updates CodeAccessSecurity to FullTrust for IntraNetZone
echo.
pause
"C:\Windows\Microsoft.NET\Framework\v2.0.50727\caspol.exe" -pp off
"C:\Windows\Microsoft.NET\Framework\v2.0.50727\caspol.exe" -m -cg
LocalIntranet_Zone FullTrust
echo.
 
C

Carlos Andrés Guaneme Lugo

Hi Jeff.

We read the help of the command you sent and adapted it to our environment
and it solved the problem.

Thanks a lot!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top