And during the compile you're a specifying delay-signing attribute?

 

[assembly:AssemblyKeyFileAttribute("myKey.snk")]
[assembly:AssemblyDelaySignAttribute(true)]

 

I'm curious, if your build server has access to the private signing key,
why not just sign the DLL during the compile? Or, does this script just
deploy previously compiled binaries?

 

BOb

 

 

________________________________

From: Rosy Malhotra [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 9:53 AM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] How to put asp.net1.1 assembly in GAC using
NANT

 

Yes it is there...

 

 

Thanks and Regards,

Rosy Malhotra

________________________________

From: Bob Archer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 7:17 PM
To: Rosy Malhotra; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] How to put asp.net1.1 assembly in GAC using
NANT

 

Batch.snk contains the private key, yes?

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rosy
Malhotra
Sent: Tuesday, May 01, 2007 6:35 AM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using
NANT

 

Hi, 

I am using 

 

<delay-sign keyfile="${root.dir}\Batch\Batch\Batch.snk" verbose="true">

                        <targets>

                                    <include
name="${dist.dir}\Batch.dll" />

                        </targets>

            </delay-sign>

 

My .snk file is present in the project directory.

 

But I am getting an error that :

 

D:\Project\Dot Net\REIOS\dist\Batch.dll" "D:\Project\Dot
Net\REIOS\Batch\Batch\AssemblyInfo.vb")' in

 'D:\Project\Dot Net\REIOS'

[delay-sign]

[delay-sign] Microsoft (R) .NET Framework Strong Name Utility  Version
1.1.4322.573

[delay-sign] Copyright (C) Microsoft Corporation 1998-2002. All rights
reserved.

[delay-sign]

[delay-sign] D:\Project\Dot Net\REIOS\dist\Batch.dll does not represent
a strongly named assembly

 

BUILD FAILED - 0 non-fatal error(s), 1 warning(s)

 

D:\Project\Dot Net\REIOS\default.build(121,4):

External Program Failed: C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\bin\sn.exe (ret

urn code was 1)

 

Please suggest what should I do in this case ????

 

Thanks and Regards,

Rosy Malhotra

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 6:39 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using
NANT

 

Yes you can, I do it all the time!

 

Take a look at
http://nant.sourceforge.net/release/latest/help/tasks/delay-sign.html
for details

 

Regards,

Richard

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rosy
Malhotra
Sent: Monday, April 30, 2007 9:02 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED];
nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using
NANT

 

That I know but, can't we create strong names using nant.............

 

 

Thanks and Regards,

Rosy Malhotra

________________________________


* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the
individual or entity to whom it is addressed. If you have received this
communication in error, be aware that forwarding it, copying it, or in
any way disclosing its content to any other person, is strictly
prohibited. Peek Traffic Corporation is neither liable for the contents,
nor for the proper, complete and timely transmission of (the information
contained in) this communication. If you have received this
communication in error, please notify the author by replying to this
e-mail immediately and delete the material from any computer.

************************************************************************
************************************************************************
*********************
"This message and any attachments are solely for the intended recipient
and may contain confidential or privileged information. If you are not
the intended recipient,any disclosure,copying, use, or distribution of
the information included in this message and any attachments is 
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments. Thank you."
************************************************************************
************************************************************************
*********************
        
************************************************************************
************************************************************************
*********************
"This message and any attachments are solely for the intended recipient
and may contain confidential or privileged information. If you are not
the intended recipient,any disclosure,copying, use, or distribution of
the information included in this message and any attachments is 
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments. Thank you."
************************************************************************
************************************************************************
*********************
        
************************************************************************
************************************************************************
*********************
"This message and any attachments are solely for the intended recipient
and may contain confidential or privileged information. If you are not
the intended recipient,any disclosure,copying, use, or distribution of
the information included in this message and any attachments is 
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments. Thank you."
************************************************************************
************************************************************************
*********************
        
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to