Scott Hernandez wrote:

hope to get to this patched later this week. We will probably need to
support a config file and maybe even a config task. I'm not sure whether
you would want to specify the target framework via a external config file,
or via information in your build file. What do you think?

I would like the ability to do it from either. So you can set it in the config file for the framework that you most commonly develop against and you can choose to override it in the build file if need be. This maps to the model of how make files work : use the compiler in the system path you set CC to somthing else inside the make file. As I see it we could have configurable options for each task that needs them. We then load these from the config file at startup. I thought about using the properties collection to store these config options, somthing like "tasks.csc.ProgramFileName" that way you can override it in the build file by just resetting the property.
<property name = "tasks.csc.ProgramFileName" value "c:\....\csc.exe" />
or maybe it should be Settings.FrameworkDir


Ian


Please send along any other issues you come across. This is good
information as I'm not sure if anyone on the NAnt team is working with the
Compact Framework.

Thanks,
Scott

Hi,

Is support for compiling .NET Compact Framework applications (using the
.NET Framework 1.1 compilers) planned for NAnt ?

In order to support compiling applications for the .NET Compact
Framework the following changes should be implemented :

- the C# compiler task should support the /nostdlib[+|-] option
- the VB.NET compiler task should support the /netcf option
- add support for CFResgen.exe (the resource compiler for the .NET CF)
to the ResGen task
- the ProgramFilePath (in MsftFXSDKExternalProgramBase) should return
the path to the .NET Compact Framework instead of the .NET Framework
when you're compiling for the .NET CF.
- ....

Any idea if and when such support will be provided ? I'd be glad to
help.

Thanks,

Gert






-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to