Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using NANT

2007-05-01 Thread Rosy Malhotra

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 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


Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using NANT

2007-05-01 Thread Bob Archer
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 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

Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using NANT

2007-05-01 Thread Rosy Malhotra

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

Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using NANT

2007-05-01 Thread Bob Archer
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

Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using NANT

2007-04-30 Thread William_Martin
You can't, however, you can install an assembly to the gac with the 
gac-install task in nant-contrib:

http://nantcontrib.sourceforge.net/release/latest/help/tasks/gac-install.html

Cheers,

Bill








From Rosy Malhotra [EMAIL PROTECTED]@lists.sourceforge.net 
Sent by: [EMAIL PROTECTED]
30/04/2007 10:50


To
nant-users@lists.sourceforge.net
cc

Subject
[NAnt-users]  How to put asp.net1.1 assembly in GAC using NANT







Hi,
 
Please tell how to put ASP.net 1.1 assembly in GAC using VBC task of NANT. 
It is very urgent.
 
Thanks and Regards,
Rosy Malhotra

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__
*
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


 



IMPORTANT 
The information contained in this e-mail and any attachments is intended for 
the addressee only
and may contain legally privileged or confidential information. If you are not 
the intended
recipient you must not use, disclose, copy, distribute, alter, or take any 
action in reliance
on the information and Avon Insurance plc will not accept liability for any 
loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty or 
representation as to its
accuracy or reliability. If you are not the addressee, please notify us 
immediately on 01789 202121*
and delete the material from your computer and destroy any copies.

Avon Insurance plc reserves the right to monitor and record incoming and 
outgoing email messages for
the purposes of investigating or detecting unauthorised use of its system and 
ensuring its effective operation.
Avon Insurance plc will not accept liability for any loss or damage as a result 
of any virus being passed on.

Avon Insurance plc (No. 209606). 
Registered in England. Registered Office: Arden Street, Stratford upon Avon, 
Warwickshire CV37 6WA.
Authorised and regulated by the Financial Services Authority.
A member of the NFU Mutual group of companies and the Association of British 
Insurers.

*For security and training purposes, telephone calls may be recorded and 
monitored.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__-
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


Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using NANT

2007-04-30 Thread Rosy Malhotra

Hi,



I have used this but it is giving me an error that :





Batch.compile:

[echo] Compilation of Batch Source code

 [echo] ---

[gac-install] Installing 'D:\Project\Dot Net\REIOS\dist\Batch.dll' . . .

[gac-install] Failure adding assembly to the cache: Attempt to install
an assembly without a strong

name



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



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

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

 (return code was 1)



Thanks and Regards,

Rosy Malhotra



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




You can't, however, you can install an assembly to the gac with the
gac-install task in nant-contrib:

http://nantcontrib.sourceforge.net/release/latest/help/tasks/gac-install
.html

Cheers,

Bill








From Rosy Malhotra [EMAIL PROTECTED]@lists.sourceforge.net

Sent by: [EMAIL PROTECTED]

30/04/2007 10:50


To

nant-users@lists.sourceforge.net

cc



Subject

[NAnt-users]  How to put asp.net1.1 assembly in GAC using NANT











Hi,
 
Please tell how to put ASP.net 1.1 assembly in GAC using VBC task of
NANT. It is very urgent.
 
Thanks and Regards,
Rosy Malhotra


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__



*
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




IMPORTANT
The information contained in this e-mail and any attachments is intended
for the addressee only
and may contain legally privileged or confidential information. If you
are not the intended
recipient you must not use, disclose, copy, distribute, alter, or take
any action in reliance
on the information and Avon Insurance plc will not accept liability for
any loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty
or representation as to its
accuracy or reliability. If you are not the addressee, please notify us
immediately on 01789 202121*
and delete the material from your computer and destroy any copies.

Avon Insurance plc reserves the right to monitor and record incoming and
outgoing email messages for
the purposes of investigating or detecting unauthorised use of its
system and ensuring its effective operation.
Avon Insurance plc will not accept liability for any loss or damage as a
result of any virus being passed on.

Avon Insurance plc (No. 209606).
Registered in England. Registered Office: Arden Street, Stratford upon
Avon, Warwickshire CV37 6WA.
Authorised and regulated by the Financial Services Authority.
A member of the NFU Mutual group of companies and the Association of
British Insurers.

*For security and training purposes, telephone calls may be recorded and
monitored.
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__



*
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

Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using NANT

2007-04-30 Thread William_Martin
You need to give your assembly a strong name.  You can do this by setting 
an AssemblyKeyFile attribute in the assemblyinfo file.  To kenerate a key 
file use the sn.exe utility (look on MSDN for details.)

Something like:

Assembly: AssemblyVersion(1.0.0.0) 
Assembly: AssemblyKeyFile(MyKeyFile.snk) 

Cheers,

Bill









From Rosy Malhotra [EMAIL PROTECTED] 
30/04/2007 13:01


To
[EMAIL PROTECTED]
cc
nant-users@lists.sourceforge.net, 
[EMAIL PROTECTED]
Subject
RE: [NAnt-users]  How to put asp.net1.1 assembly in GAC using NANT







Hi,
 
I have used this but it is giving me an error that : 
 
 
Batch.compile:
[echo] Compilation of Batch Source code
 [echo] ---
[gac-install] Installing 'D:\Project\Dot Net\REIOS\dist\Batch.dll' . . .
[gac-install] Failure adding assembly to the cache: Attempt to install an 
assembly without a strong
name
 
BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
 
D:\Project\Dot Net\REIOS\default.build(116,4):
External Program Failed: C:\Program Files\Microsoft Visual Studio .NET 
2003\SDK\v1.1\bin\gacutil.exe
 (return code was 1)”
 
Thanks and Regards,
Rosy Malhotra

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

You can't, however, you can install an assembly to the gac with the 
gac-install task in nant-contrib: 

http://nantcontrib.sourceforge.net/release/latest/help/tasks/gac-install.html 


Cheers, 

Bill 







From Rosy Malhotra [EMAIL PROTECTED]@lists.sourceforge.net 
Sent by: [EMAIL PROTECTED] 
30/04/2007 10:50 



To
nant-users@lists.sourceforge.net 
cc
 
Subject
[NAnt-users]  How to put asp.net1.1 assembly in GAC using NANT
 


 
 





Hi, 
  
Please tell how to put ASP.net 1.1 assembly in GAC using VBC task of NANT. 
It is very urgent. 
  
Thanks and Regards, 
Rosy Malhotra 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__ 

*
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




IMPORTANT 
The information contained in this e-mail and any attachments is intended 
for the addressee only
and may contain legally privileged or confidential information. If you are 
not the intended
recipient you must not use, disclose, copy, distribute, alter, or take any 
action in reliance
on the information and Avon Insurance plc will not accept liability for 
any loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty or 
representation as to its
accuracy or reliability. If you are not the addressee, please notify us 
immediately on 01789 202121*
and delete the material from your computer and destroy any copies.

Avon Insurance plc reserves the right to monitor and record incoming and 
outgoing email messages for
the purposes of investigating or detecting unauthorised use of its system 
and ensuring its effective operation.
Avon Insurance plc will not accept liability for any loss or damage as a 
result of any virus being passed on.

Avon Insurance plc (No. 209606). 
Registered in England. Registered Office: Arden Street, Stratford upon 
Avon, Warwickshire CV37 6WA.
Authorised and regulated by the Financial Services Authority.
A member of the NFU Mutual group of companies and the Association of 
British Insurers.

*For security and training purposes, telephone calls may be recorded and 
monitored. 
__
This email has been scanned

Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using NANT

2007-04-30 Thread Phil Sayers
it would appear that the error message tells you exactly what the problem is
here

  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rosy Malhotra
  Sent: Monday, April 30, 2007 8:01 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


  Hi,



  I have used this but it is giving me an error that :





  Batch.compile:

  [echo] Compilation of Batch Source code

   [echo] ---

  [gac-install] Installing 'D:\Project\Dot Net\REIOS\dist\Batch.dll' . . .

  [gac-install] Failure adding assembly to the cache: Attempt to install an
assembly without a strong

  name



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



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

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

   (return code was 1)



  Thanks and Regards,

  Rosy Malhotra



--

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




  You can't, however, you can install an assembly to the gac with the
gac-install task in nant-contrib:

  http://nantcontrib.sourceforge.net/release/latest/help/tasks/gac-install.h
tml

  Cheers,

  Bill








From Rosy Malhotra
[EMAIL PROTECTED]@lists.sourceforge.net
Sent by: [EMAIL PROTECTED]

30/04/2007 10:50

  To
 nant-users@lists.sourceforge.net

  cc


  Subject
 [NAnt-users]  How to put asp.net1.1 assembly in GAC using NANT














  Hi,

  Please tell how to put ASP.net 1.1 assembly in GAC using VBC task of NANT.
It is very urgent.

  Thanks and Regards,
  Rosy Malhotra


  __
  This email has been scanned by the MessageLabs Email Security System.
  For more information please visit http://www.messagelabs.com/email
  __



*
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




  IMPORTANT
  The information contained in this e-mail and any attachments is intended
for the addressee only
  and may contain legally privileged or confidential information. If you are
not the intended
  recipient you must not use, disclose, copy, distribute, alter, or take any
action in reliance
  on the information and Avon Insurance plc will not accept liability for
any loss or damage howsoever
  arising, directly or indirectly in reliance on it and gives no warranty or
representation as to its
  accuracy or reliability. If you are not the addressee, please notify us
immediately on 01789 202121*
  and delete the material from your computer and destroy any copies.

  Avon Insurance plc reserves the right to monitor and record incoming and
outgoing email messages for
  the purposes of investigating or detecting unauthorised use of its system
and ensuring its effective operation.
  Avon Insurance plc will not accept liability for any loss or damage as a
result of any virus being passed on.

  Avon Insurance plc (No. 209606).
  Registered in England. Registered Office: Arden Street, Stratford upon
Avon, Warwickshire CV37 6WA.
  Authorised and regulated by the Financial Services Authority.
  A member of the NFU Mutual group of companies and the Association of
British Insurers.

  *For security and training purposes, telephone calls may

Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using NANT

2007-04-30 Thread Rosy Malhotra

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





Thanks and Regards,

Rosy Malhotra



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 6:16 PM
To: Rosy Malhotra
Cc: nant-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Subject: RE: [NAnt-users] How to put asp.net1.1 assembly in GAC using
NANT




You need to give your assembly a strong name.  You can do this by
setting an AssemblyKeyFile attribute in the assemblyinfo file.  To
kenerate a key file use the sn.exe utility (look on MSDN for details.)

Something like:

Assembly: AssemblyVersion(1.0.0.0)
Assembly: AssemblyKeyFile(MyKeyFile.snk)

Cheers,

Bill









From Rosy Malhotra [EMAIL PROTECTED]

30/04/2007 13:01


To

[EMAIL PROTECTED]

cc

nant-users@lists.sourceforge.net,
[EMAIL PROTECTED]

Subject

RE: [NAnt-users]  How to put asp.net1.1 assembly in GAC using NANT











Hi,
 
I have used this but it is giving me an error that :
 
 
Batch.compile:
[echo] Compilation of Batch Source code
 [echo] ---
[gac-install] Installing 'D:\Project\Dot Net\REIOS\dist\Batch.dll' . . .

[gac-install] Failure adding assembly to the cache: Attempt to install
an assembly without a strong
name
 
BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
 
D:\Project\Dot Net\REIOS\default.build(116,4):
External Program Failed: C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\bin\gacutil.exe
 (return code was 1)
 
Thanks and Regards,
Rosy Malhotra






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

You can't, however, you can install an assembly to the gac with the
gac-install task in nant-contrib:

http://nantcontrib.sourceforge.net/release/latest/help/tasks/gac-install
.html

Cheers,

Bill





From Rosy Malhotra [EMAIL PROTECTED]@lists.sourceforge.net

Sent by: [EMAIL PROTECTED]

30/04/2007 10:50




To

nant-users@lists.sourceforge.net

cc

 

Subject

[NAnt-users]  How to put asp.net1.1 assembly in GAC using NANT


 



 








Hi,

Please tell how to put ASP.net 1.1 assembly in GAC using VBC task of
NANT. It is very urgent.

Thanks and Regards,
Rosy Malhotra


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__



*
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




IMPORTANT
The information contained in this e-mail and any attachments is intended
for the addressee only
and may contain legally privileged or confidential information. If you
are not the intended
recipient you must not use, disclose, copy, distribute, alter, or take
any action in reliance
on the information and Avon Insurance plc will not accept liability for
any loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty
or representation as to its
accuracy or reliability. If you are not the addressee, please notify us
immediately on 01789 202121*
and delete the material from your computer and destroy any copies.

Avon Insurance plc reserves the right to monitor and record incoming and
outgoing email messages for
the purposes of investigating or detecting unauthorised use of its
system and ensuring its effective operation.
Avon Insurance plc will not accept liability for any loss or damage as a
result of any virus being passed on.

Avon Insurance plc (No. 209606).
Registered in England. Registered Office

Re: [NAnt-users] How to put asp.net1.1 assembly in GAC using NANT

2007-04-30 Thread Richard.Foster
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



*
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.


*




* 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 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