views:

657

answers:

3

Subj.

"Automatically" is essential here. References from GAC must not be copied.

I've seen e.g. VS2008.NET: Getting a referenced project’s dependencies to copy to main project’s bin folder, and this isn't interesting for me. I'd like all the dependencies get copied automatically.

A: 

can't you use post build event?
EDIT

XCOPY c:/additionlib $(OutDir)
ArsenMkrt
I can. So what must I write there to copy all the dependencies automatically?
Alex Yakunin
see edited post
ArsenMkrt
I know this, but in this case I should manually discover and list them. I'd like the same happening fully automatically.
Alex Yakunin
A: 

You can use Robocopy (or XCopy) in your post build event

Kane
I know this, but in this case I should manually discover and list them. I'd like the same happening fully automatically.
Alex Yakunin
+3  A: 

Fortunately, I answered this question by my own. If you're interested, the solution is here.

Alex Yakunin
It's a nice hack, though I always prepare necessary dlls manually :) Maybe I am not that lazy but smart
Lex Li
Thanks for the job! I have a bunch of plug-ins and I do not want to make references (hard dependencies bad as I want to remove in some of them in the end version) nor make manually post build events (error prone), that's a nice hack!
jdehaan
Well, I was solving a very similar problem ;)
Alex Yakunin