steinard
01-06-2008, 06:32 PM
Hi!
Anyone one out there fluent in NAnt?
I'm setting up a continues build system and I decided to try out NAnt (we are currently using Build Studio, and we are not satisfied with that product). So after some playing around I was able to compile a few projects and run a few unit tests as well.
All went well until I tried to execute the target for the domain model. There I get a lot of error messages, CS0234, stating that a referenced assembly or namespace is missing. This sounds very strange as I've included all referenced assemblies in the references tag within the csc target in the NAnt build script. Actually the reference list is equal to what is displayed when viewing the project in VS2005 and compiling everything in VS works. Thus I guess this is a NAnt related issue.
By the way, I tried to look at Springs build script, but it was so large that it was not much I could get out of it. Although I verified that the test target actually was able to compile everything, I'm now wondering how Spring avoided the 'cs0234' error message.
Looking at MSDN doesn't really enlighten me much either (http://msdn2.microsoft.com/en-us/library/0e92xd7b(VS.80).aspx (http://msdn2.microsoft.com/en-us/library/0e92xd7b%28VS.80%29.aspx)). Has anyone hit this honypot before and know how to consume it???
Thanks,
Steinar.
Anyone one out there fluent in NAnt?
I'm setting up a continues build system and I decided to try out NAnt (we are currently using Build Studio, and we are not satisfied with that product). So after some playing around I was able to compile a few projects and run a few unit tests as well.
All went well until I tried to execute the target for the domain model. There I get a lot of error messages, CS0234, stating that a referenced assembly or namespace is missing. This sounds very strange as I've included all referenced assemblies in the references tag within the csc target in the NAnt build script. Actually the reference list is equal to what is displayed when viewing the project in VS2005 and compiling everything in VS works. Thus I guess this is a NAnt related issue.
By the way, I tried to look at Springs build script, but it was so large that it was not much I could get out of it. Although I verified that the test target actually was able to compile everything, I'm now wondering how Spring avoided the 'cs0234' error message.
Looking at MSDN doesn't really enlighten me much either (http://msdn2.microsoft.com/en-us/library/0e92xd7b(VS.80).aspx (http://msdn2.microsoft.com/en-us/library/0e92xd7b%28VS.80%29.aspx)). Has anyone hit this honypot before and know how to consume it???
Thanks,
Steinar.