C# console and windows application [duplicate] - c#

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

Related

Start an exe. via Windows Service [duplicate]

This question already has answers here:
How can I run an EXE program from a Windows Service using C#?
(9 answers)
Closed 5 years ago.
I'm currently working on a project to automatize my backup to run only under certain circumstances. Therefor I'm writing a Windows Service in C# using Visual Studios 2015. I already got my requirements set and now I can't get my Service to run sdclt.exe (the Microsoft Default Backup). I already searched for a solution but i only found people saying that Windows Services can't start .exe anymore. Does anyone here have an idea how it might still work?
Thank You
you can create BatchFile that Run sdclt.exe or use System.Thredin.Process to Run that exe. use verbs if require to run with administrator rights.

How do I create a .exe file from a Windows Forms application? [duplicate]

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.

Can we install .exe file generated by a C# console app? if yes, how? [duplicate]

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.

Is it possible to run a python file from within Visual Studio? [duplicate]

This question already has answers here:
How do I run a Python script from C#?
(9 answers)
Closed 7 years ago.
I am completely new to Visual Studio and C#, so I apologize in advance if this sounds like a dumb question. I am trying to develop a Windows Forms Application such that when I click a button, a Python script is run, performing data analysis on some files, with the eventual goal of displaying that data as a graph on the Windows Forms Application after the button is clicked.
My question is: how do I get the python script to run when the button is clicked from the Windows Forms Application?
Yes, it is possible.
You can create a process that runs python shell.
Pyton Tools for Visual Studio will help with debugging python from within VS
https://pytools.codeplex.com/
For more details and how to look at this video
http://www.youtube.com/watch?v=JNNAOypc6Ek&hd=1
Yes, it is possible there is Microsoft approved extension for VS to yse Python.
You can downloaded it from here:
https://visualstudiogallery.msdn.microsoft.com/9ea113de-a009-46cd-99f5-65ef0595f937
For more details and how to look at this video
http://www.youtube.com/watch?v=JNNAOypc6Ek&hd=1

How to Compile projects in another console application [duplicate]

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

Categories