Look
at the element in the CSC task reference.
http://nant.sourceforge.net/help/tasks/csctask.html.
In NANT v. 0.7.9, this should work unless, as I recall, you have read-only
.resx files.
Does anyone know if that's been fixed in more
recent builds?
thanks,
Bruce
-Original
Another question is essentially how to get Nant to compile a
WinExe? So far whenever I try to run a build script on win exe it outputs a
console application which of course doesn’t run. I know that auxiliary .resx
files need to included as resources whilst the Form is compiled, but what is
Bobby,
It is possible that you may need some attributes, like taskname, for your
task. In fact, the taskname attribute must be unique in the list of loaded
tasks.
Here is the bare minimum that should be needed.
[TaskName("newtask")]
public class TestTask : Task {
protected overri
I have tried doing that, but I receive an error that Nant does not
recognize the task when I try to use it through a build file.
I have tried actually recompiling Nant with the task included in its
Tasks folder. I have had some success in this as Nant does appear to
recognize the task. However, I