Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple Output paths for a C# Project file

Can I use multiple output paths. like when i build my project, the exe should generate in two different paths. If so, How can I specify in Project Properties-> Build -> output path? I tried using , and ; but neither of those work.

like image 729
satya Avatar asked Nov 25 '09 09:11

satya


People also ask

How to copy output from one project to another?

You have a section build events in your project's properties. You can use post-build events to copy your output to different locations. Just press 'Edit Post-build' and 'Macros', so that you can even use shortcuts to your output directory. For more informations have a look here.

How many paths can be there in a recursive loop?

And hence after every cycle through the loop, the length path will increase and that will be considered as a different path, and there would be infinitely many paths because of the cycle. Create a recursive function that takes index of node of a graph and the destination index.

How to return multiple values from a function in C/C++?

How to return multiple values from a function in C or C++? New programmers are usually in the search of ways to return multiple values from a function. Unfortunately, C and C++ do not allow this directly.

How to print multi-line string in single Cout statement in C++?

The endl statement can be used to print the multi-line string in a single cout statement. Below is the C++ program to show the same: GeeksforGeeks is best platform to learn It is used by students to gain knowledge It is really helpful


2 Answers

You have a section build events in your project's properties. You can use post-build eventsto copy your output to different locations. Just press 'Edit Post-build' and 'Macros', so that you can even use shortcuts to your output directory. For more informations have a look here.

like image 100
tanascius Avatar answered Sep 18 '22 07:09

tanascius


No, you can't. But you can copy the exe file to another directory after the build. In the "project options"->"Build Events"->"Post-build event command line" you can add a copy command. There are several placeholder available (like the output dir). Just check the "Edit post-build" button.

like image 21
Jan-Patrick Ahnen Avatar answered Sep 21 '22 07:09

Jan-Patrick Ahnen