Hello,
I'm trying to
install and run NAnt on our various QA, UAT and PRD servers and have come across
a problem that I did not have on my local machine. When I run NAnt on
my build script locally it works fine. When I run it on one of the
server machines I get the following error:
BUILD FAILEDThe SDK for the 'net-1.1' framework is not available or not configured.
OK, so
obviously this is coming up because neither Visual Studio nor the .NET SDK have
been installed on the servers. The problem is, my company does not permit
me to install the .NET SDK on production servers, probably with good reason
given the security hazards it can introduce. It looks like MS does not
recommend this practice either. Fair enough.
So what
is the recommended approach here? I would think given the tasks I am using
(I'll lay them out in a little bit), that I'd only be required to have the
framework installed, but it looks like this is not the case. Is there a
particular task I am using that's pushing this requirement? Maybe I can
eliminate it for now.
Here
are the tasks that I'm using:
<property/><if/><ifnot/><mkdir/><vbc><imports/><sources/><resources/><references/></vbc><copy/><foreach/>
If
needed, I can include my full build file.
Many
thanks in advance...
Leo
Hart