Here is what I would like, I would like to be able to check into my source control
system NAnt as well as a copy of the .NET compiler (v1.1 & v1.0). When
developers sync to the project, they will always be syncing to a single controlled
build environment. The trick is… How
do I tell NAnt to use a copy of the .NET Framework SDK that is not installed,
but located somewhere else on the developer’s PC? I have looked at the NAnt.exe.config file, and this appears
to be where NAnt gets the path (from the registry), but hacking up this file
doesn’t seems like a great idea. I have also read several articles on
how to target different versions of the Framework, but they all assume that both frameworks are actually
INSTALLED. The benefits of this are many: -
A single controlled build
environment that any “syncing” party can build with -
A single place to upgrade the build
environment. What to go to .NET v1.1 SP1? No problem, let me just check in
the new compiler. Any thoughts? I guess, I am looking for validation that
messing with NAnt.exe.config is a good idea… and/or a way to override the
sdkInstallRoot variable in the NAnt.exe.config file. Thanks. Aaron Elder |