3

How can I set up the VS so that it outputs the dll to multiple directories?

1
  • 1
    Are you planning to enter code here? Commented Mar 12, 2012 at 21:43

3 Answers 3

3

You can use VS post build events to copy the generated dlls.

something like:

copy $(TargetPath) new/path/to/dll/mydll.dll
Sign up to request clarification or add additional context in comments.

2 Comments

can you please specify what i can mention on new/path/to/dll/mydll.dll
This is where you want to copy the DLL to, this is a standard DOS copy command.
3

I got this when i use

 xcopy /Q /Y "$(TargetPath)" "C:\path\to\somewhere\"

Comments

1

In your project properties there is a Build Events section. You can use the post-build events to output your DLL's to different locations.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.