Steve,

Are you using a recenty nightly build of NAnt ?  If not, can you try with
the latest nightly build ?

Thanks,

Gert

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 02, 2004 8:40 AM
Subject: [Nant-users] Problem with conditional compilation


>
>
>
>
> I'm having a problem using the <solution> task and conditional
compilation.
> Our solution uses 2 keys one for development and one for production.
>
> The keys are defined in the assemblyInfo.vb file as follows...
>
> #If DEBUG Then
> <Assembly: AssemblyKeyFile("../../../../DevelopmentKeyfile.snk")>
> #Else
> <Assembly: AssemblyKeyFile("e:\ProdcutionKeyfile.snk")>
> #End If
>
>
> The project configuration is ...
>
>       <Config
>                     Name = "Debug"
>                     BaseAddress = "285212672"
>                     ConfigurationOverrideFile = ""
>                     DefineConstants = ""
>                     DefineDebug = "true"
>                     DefineTrace = "true"
>                     DebugSymbols = "true"
>                     IncrementalBuild = "true"
>                     Optimize = "false"
>                     OutputPath = "..\..\..\..\..\bin\"
>                     RegisterForComInterop = "false"
>                     RemoveIntegerChecks = "false"
>                     TreatWarningsAsErrors = "false"
>                     WarningLevel = "1"
>                 />
>                 <Config
>                     Name = "Release"
>                     BaseAddress = "285212672"
>                     ConfigurationOverrideFile = ""
>                     DefineConstants = ""
>                     DefineDebug = "false"
>                     DefineTrace = "true"
>                     DebugSymbols = "false"
>                     IncrementalBuild = "false"
>                     Optimize = "true"
>                     OutputPath = "..\..\..\..\..\bin\"
>                     RegisterForComInterop = "false"
>                     RemoveIntegerChecks = "false"
>                     TreatWarningsAsErrors = "false"
>                     WarningLevel = "1"
>                 />
>
> The problem is when I build the solution with the <soulution> tasks
> configuration attribute set to configuration="Debug" it always tries and
> builds with the production keyfile e:\ProdcutionKeyfile.snk instead of the
> DevelopmentKeyfile.snk keyfile.
>
> Any suggestions would be greatly appreciated.
>
> p.s. Please note for various reasons we are not able to use delayed
signing
>
>
> Cheers,
>
> Steve
>
>
>
>
>
> This email is sent by or on behalf of the named sender identified above.
> If:
>
> (a) you do not wish to receive any email marketing material from me in the
> future, please forward the contents of this email with the message
> 'unsubscribe' in the subject box to [EMAIL PROTECTED]; or
>
> (b)you wish to unsubscribe from all central email marketing lists used by
> our business,please forward the contents of this email,with the message
> 'unsubscribe from all central email marketing lists' in the subject box to
> [EMAIL PROTECTED]
>
> The information contained in this e-mail communication may be
confidential.
> You should only read, disclose, re-transmit,copy,distribute, act in
> reliance on or commercialise the information if you are authorised to do
> so. If you are not the intended recipient of this e-mail communication,
> please immediately notify us by e-mail to [EMAIL PROTECTED], or reply
> by e-mail direct to the sender and then destroy any electronic and paper
> copy of this message.  Any views expressed in this e-mail communication
are
> those of the individual sender, except where the sender specifically
states
> them to be the views of a member of the National Australia Bank Group of
> companies.  Any advice contained in this e-mail has been prepared without
> taking into account your objectives, financial situation or needs. Before
> acting on any advice in this e-mail, National Australia Bank Limited
> recommends that you consider whether it is appropriate for your
> circumstances. If this e-mail contains reference to any financial
products,
> the National recommends you consider the Product Disclosure statement
(PDS)
> or other disclosure document before making any decisions regarding any
> products.  The National Australia Bank Group of companies does not
> represent, warrant or guarantee that the integrity of this communication
> has been maintained nor that the communication is free of errors, virus or
> interference.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to