This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Place all output dlls in common directory from Visual Studio
I have a solution which is having 15 projects.
Now i want to compile all these project and save dlls into another location using another console application.
MSBuild or Nant
Related
This question already has answers here:
Compiling/Executing a C# Source File in Command Prompt
(17 answers)
Closed 6 years ago.
How do I create a .exe file from a Windows Forms application?
And I want to use it on other computers without installing Visual studio, just run it as an application.
After building the application, just go to the bin folder and you will find your .exe file.
This question already has answers here:
C# console app deployment
(7 answers)
Closed 6 years ago.
Can we install .exe release file generated by a C# console app? if yes, how?
The answer is no. The generated exe file just runs the console application. If you want to create an installer, I suggest researching Wix.
This question already has answers here:
Embedding an external executable inside a C# program
(8 answers)
Closed 7 years ago.
I have an executable with dll dependencies that I am using in my program and I want to be able package the other exe and dlls together with my application. This is a c# application and I am not sure what the other exe is (c# or c++).
As of now, I am just referencing an external file (C:\blah\bin\blah.exe) with the exe and dlls, but this won't work once other people start using the application and will need the exact exe file location.
Is there a good way for me to embed this exe into my application?
You can use resources for that purpose: https://support.microsoft.com/en-us/kb/319292/
https://msdn.microsoft.com/en-us/library/f45fce5x(v=vs.90).aspx
Another link: https://msdn.microsoft.com/en-us/library/7k989cfy(v=vs.90).aspx
This question already has answers here:
How to run a .NET console application in the background
(8 answers)
Closed 8 years ago.
Is there any way to run both windows and console application while debugging C# project in Visual Studio 2013? I'm trying to run an XNA project if that helps in any way.
Thank you
If they are in the same solution you can set multiple projects on startup in the solution properties.
You could build one of them and run the executable directly from the debug folder while debugging the other project. Alternatively there's some information here on switching between processes while debugging: http://msdn.microsoft.com/en-us/library/jj919165.aspx
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
.NET windows application, can it be compressed into a single .exe?
I have a project that relies on several dlls and once I compile it, it requires that I run the .exe in the same folder with the dlls. Can I package them together so I don't have to do that?
For reference, I'm using C#
You can use ILMerge to combine them into one.