Bob Mixon [SPS MVP] wrote:
> Greetings all, I have an assembly that is installed in the GAC, with a 
> strong keypair. When I compile this assembly in the .NET IDE, 
> everything work as expected and I can install it in the GAC without 
> incident. However, when I use the csc task to compile the assembly, I 
> am unable to install it in the GAC. Can someone please tell me what I 
> am missing when using the csc task? Thank you in advance for all of 
> your help! Bob Mixon
How are you signing the assembly?  Have you checked that the NAnt run 
has all the access privileges it needs to get at the key?  Do you get 
any useful information from the message when you try to install it?

One common technique I use for debugging discrepancies between NAnt and 
Visual Studio is to study the Visual Studio build log - not the text 
that appears in the output window of Visual Studio, but in the separate 
build log that it creates.  That will show you the exact sequence of 
steps that are used, and the options being passed to the compiler.  
[Aside:  I'm assuming you really meant Visual Studio.  There's no such 
thing as "the .NET IDE".]

Gary



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to