views:

40

answers:

0

I have a VS2003 project that references nunit.framework.dll. The dll is available from within my source tree. Everything works fine on my box(tm).

When the build server tries to build the project, it fails, because the build server (outside of my control) has nunit.framework.dll V2.1 (outdated) in it's GAC.

I believe that if I use a absolute, rather than relative hintpath in my .csproj file, the build routine will use the specified dll, rather than the one from the GAC. I haven't found a better way to force this than that.

I believe I can specify that absolute path using an environment variable.

Is there a way to set the path in that environment variable inside the csproj file?