Customizing Team Build

Oct 12, 2008 at 7:42 AM
Hi All,

There is a small issue i am facing. Please can anybody help me resolve this.

<UsingTask TaskName="BuildNumberGenerator.GenBuildNumber" AssemblyFile="bin\BuildNumberGenerator.dll" />

I am using the this line in my TFSBuild.proj.
The dll is placed in TeamBuildTypes\BuildName\Bin folder.

But when i run the build i get following error:

error MSB4062: The "BuildNumberGenerator.GenBuildNumber" task could not be loaded from the assembly C:\Documents and Settings\****\Local Settings\Temp\*****\BuildType\bin\BuildNumberGenerator.dll. Could not load file or assembly 'file:///C:\Documents and Settings\****\Local Settings\Temp\****\BuildType\bin\BuildNumberGenerator.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

I had a look in the specidifed folder the bin folder is there but the dll is missing. Now my question is why is it not copying this dll to the temp folder?
Also Where can i place it so it picks it up.
I dont want to give any hardcoded path.