Hi Alberto,
You can use the following to set the current framework to .NET Compact Framework 1.0 :
property name=nant.settings.currentframework value=netcf-1.0 /
to compile an assembly using that framework do the following :
csc nostdlib=true noconfig=true
sources
includes
Hi all!
don't you think that it would be a good idea to have:
includes name=mscorlib.dll frameworkassembly=true /
for such case. Additionaly this would be an easy way to get rid of
includes name=... asis=true /
which relies on csc.exe finding its own libraries, which I think is ugly.
Jarek
Title: R: [Nant-users] how-to specify the framework version to use in order to build ?
Alberto,
this means that NAnt was not able to determine the
location of the .NET Compact Framework, and therefor it does not consider it to
be a valid framework, hence the error message.
Are you sure
Title: R: [Nant-users] how-to specify the framework version to use in order to build ?
Alberto's problem was fixed by manually adjusting
the section .NET Compact Framework section in NAnt.exe.config. This should
no longer be necessary in the 0.8.4 nightly builds ...
Gert
- Original