Strange NAnt problem

When I moved my dotnet project from my workstation to CC.net server (64 bit windows 2003 server), this problem appears:

System.NullReferenceException: Object reference not set to an instance of an object.
at NAnt.Core.FrameworkInfo.get_Version()

There is a solution on Jeffery Palermo’s blog in which a extra dotnet 3.5 configuration is provided. I didn’t want to do this at first because the version I have (.86 beta1) already include this part. I decided to change my xml file little by little with no good, finally, I copied the whole piece of  Jefferyof xml about .net 35 config to NAnt.exe.config, the problem was fixed then.

There must be something different in the assembly list, for 64 bit server maybe?

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s