depending on your company security policy you may not be able to run a .net program which sits on a network drive (that's the case for my current customer)...
also C++ compilation can be quite slow so if you can compile on a local drive then copy the binaries on the network share (what I do here), it's usually a lot faster.
hope this helps
Thibaut
--
[blog] http://www.dotnetguru2.org/tbarrere
On 10/02/06, Arnette, Bill <
[EMAIL PROTECTED]> wrote:
I want to put in-house C++ libraries that are built with Nant on a
network share. I thought I could just check the project out from
Subversion to a mapped drive and build it there. The project includes
the Nant binaries and the environment is set up to use those Nant
binaries. So anybody who wants to build the project will have all the
tools they need except for the compiler. But when I run Nant on the
mapped drive I get:
log4net:ERROR Failed to initialize configuration file watcher for file
[P:\Devel
opment\lib\SignalscapeLibs\Tools\Nant\Bin\NAnt.exe.config]
System.Security.SecurityException: Request failed.
at log4net.Config.ConfigureAndWatchHandler..ctor(ILoggerRepository
repository
, FileInfo configFile)
at log4net.Config.XmlConfigurator.ConfigureAndWatch (ILoggerRepository
reposit
ory, FileInfo configFile)
Unhandled Exception: System.Security.SecurityException: Request for the
permissi
on of type System.Security.Permissions.SecurityPermission, mscorlib,
Version=1.0
.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
at NAnt.Console.HelperArguments.CallConsoleRunner()
at System.AppDomain.DoCallBack(CrossAppDomainDelegate
callBackDelegate)
at NAnt.Console.ConsoleStub.Main(String[] args)
The state of the failed permission was:
<IPermission class="System.Security.Permissions.SecurityPermission,
mscorlib, Ve
rsion=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="ControlAppDomain"/>
There is obviously a security violation, but I am relatively new to .NET
and have no clue about .NET security.
Is is possible to run Nant on/from a mapped drive like this?
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users