Hi Sandeep,
 
I had exactly the same problem and the solution I found was to make a copy of my assemblies (or dlls) to my local machine. Then build the project. I know is not the most elegant solution, but it works.
 
I hope it works for you
ransel
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep
Sent: Friday, March 18, 2005 11:00 AM
To: [email protected]
Subject: [Nant-users] VS.Net Solution having references to the Dlls on network folder

Hi,

 

I am using NAnt to build a VS.Net solution. Some of the projects in the solution reference an assembly from network drive (I have mapped it to a drive letter). This solution build successfully using VS.Net however, when I build it using NAnt, I get the following error:

 

System.Security.Policy.PolicyException: Required permissions cannot be acquired

 

I saw this link http://www.mail-archive.com/[email protected]/msg06130.html and gave Full Trust to Local Intranet in Runtime Security Policy. This also doesn’t help.

 

Has anyone able to overcome this problem. Any help in this regard is appreciated.

 

Thanks,

Sandeep

 

 

Reply via email to