Insights and outlooks on software development

S'true

NAnt won't run on .NET 2.0

Wednesday, August 6, 2008 by Thomas L

When trying to use NAnt 0.85 that came distributed with TreeSurgeon, I got the darndest error message. It said that I needed .NET 1.0, 1.1 or 2.0. Quite strange, since I already had .NET 2.0 installed on the machine.

It turns out that NAnt 0.85, which is the latest non-beta release, is quite old, and as .NET 2.0 was in beta state at the moment it was released, it's linked against a .NET 2.0 beta release. So what I needed to do was install the .NET 1.1 runtime on the machine. This error took quite long time to diagnose; I didn't notice the revision number when I got the error message. Strange.

Filed under having  

0 kommentarer: