I am running nested builds. I want to set the basedir attribute of
based on a global property set in the parent build. Is it possible?
Because I am able to use the global property within the child build but not
on the basedir attribute of the project.
Code sample:
and the code within
Brenton,
Claytons answer is correct. However you need to be sure you're using the
right terminology.
the current framework represents which version of csc.exe and libraries
you want to target.
the supportedRuntime setting indicates which runtime nant itself will
run against and has no bearing u
Eric,
I'm not quite sure what you're asking. Are you wondering how to generate
interop assemblies with nant ? If so then the tlbimp task is probably
what you're after. You pass it a tlb or activeX dll and it will generate
the appropriate wrapper assembly or rcw ( runtime callable wrapper ).
tlbi
Is anyone aware of a way to expose ActiveX dll's from NAnt? While automating our build, I've come to a project where Interop.SQLXMLBULKLOADLib.dll and Interop.IWshRuntimeLibrary.dll are referenced in the code. The only way I can figure out how to get these files into the project environment is by
Hi Brenton,
You need to add this setting to your project:
Which will control what version of the .net framework is used to compile
your app with nant.
To set the runtime framework you need to add **something** like this to
your app.config file (snipped from the NAnt.exe.config file):
You can either try "-k" flag when invoking
NAnt or set "nant.settings.currentframework" property inside your build
script. For a list of available values consult *.exe.config.
Hope it helps.
Jarek
- Original Message -
From:
Brenton
House
To: [EMAIL PROTECTED]
S
I am trying to
figure out what to add to my build script to be able to choose what version of
the .NET runtime I want to use. I know that you can change settings in the
NAnt.exe.config file but I want to change it at runtime. Is there a task
built yet to be able to choose this? If not, I