+1  A: 

Yes, you can. Same way as you would do it with msbuild, with UsingTask .

You can use AssemblyFile or AssemblyName attribute.

http://msdn.microsoft.com/en-us/library/t41tzex2(VS.90).aspx

Ankit
thanks AnkitI will have a go of this.
Simon