I have already tried that by giving “Full Trust to Local Intranet”. Does this not mean that all the assemblies in local intranet are fully trusted?

 

What am I missing here?

 

Regards,

Sandeep


From: Robinson, Heath [mailto:[EMAIL PROTECTED]
Sent: Friday, March 18, 2005 1:16 PM
To: Ransel Lopez Mena; Sandeep; nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] VS.Net Solution having references to the Dlls on network folder

 

I think you need to modify the Runtime Security policy in the .Net Framework Configuration applet.  You can find it in Control Panel->Administrative Tools.

 

 

 

Heath
x3006

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ransel Lopez Mena
Sent: Friday, March 18, 2005 2:44 PM
To: Sandeep; nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] VS.Net Solution having references to the Dlls on network folder

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: nant-users@lists.sourceforge.net
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/nant-users@lists.sourceforge.net/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