Simon,

If you want to be absolutly certain, then once you have compiled the
assembly, open in ILDASM and inspect the manifest.  Look for the reference
to System.dll and check the version.  The version 1.0 reference will look
something like:

.assembly extern System
{
  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         //
.z\V.4..
  .ver 1:0:3300:0
}

If the assembly was compiled against the 1.1 framework, then it will be
something like this:

.assembly extern System
{
  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         //
.z\V.4..
  .ver 1:0:5000:0
}

HTH,

Bill


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: 14 June 2005 15:32
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] targetting specific frameworks


I know I can use the -t option to target a particular framework, but how can
I be sure that is actually what is happening? In fact when I target 'net1.1'
and run my build, the first bit of the text at the top of my command window
says:

'NAnt (Build 0.85.1642.0; net1.0 win32; nightly 30/6/2004'

which looks like its still targetting 'net1.0'

Simon Burgess



UK businesses use 2 million tonnes of paper each year.
THINK before you PRINT this email.
______________________________________________________________

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the
person or organisation to
whom it is addressed.  Its contents are confidential and may be protected in
law.  Unauthorised use,
 copying or disclosure of any of it may be unlawful.  If you are not the
intended recipient, please
contact us immediately.

The contents of any attachments in this e-mail may contain software viruses,
which could damage your
own computer system.  While Marlborough Stirling has taken every reasonable
precaution to minimise
this risk, we cannot accept liability for any damage, which you sustain as a
result of software
viruses.  You should carry out your own virus checking procedure before
opening any attachment.

Marlborough Stirling plc, Registered in England and Wales
Registered No. 3008820,
Jessop House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000     Fax: 01242 547100
http://www.marlborough-stirling.com



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to