Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
When we build solution, exe is created automatically in \bin\Release or \bin\Debug. Is there any way to create .exe manually(not publishing) in visual studio. I already posted this question
visual studio not creating .exe
Manually mean command line or some thing like..... other than using build
Your question is not so clear.
But if you meaning to commandline you can build with MSBuild, DEVENV and NMake (link)
you also can build with csc.exe (link)
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I have been searching for an answer to this question. When I make a python in vsc, I add .py after the file name. When I make a java file I add .java after file name. For c# I don't know what to add. I tried .exe, it gives me this symbol "*". I tried .cs, and it gives me the same symbol.
.Java is to Java files as .CS is to C# files.
Additionally you can install the C# extension from VSCode
Go to Extensions (Ctrl+Shift+X)
Search for #id:ms-vscode.csharp and install
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I wrote a simple two-class project in C# and as I would do in Java I split the classes into two separate source files. When I try to run the source file with main, the compiler does not find the other file. What should I include to make it work?
I have one file with the class main and another file with a class Foo.cs.
They are in the same namespace
A good start would be to use an IDE like Visual Studio (The community edition is free) and it can be downloaded from Microsoft.
Create a new solution and project
Import the files (for VS, right click --> Add --> Existing item.
Compile the solution with the IDE
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I just have written a code in C# its a web browser using Visual Studio 2015
How do i make it compiled to .exe file and etc, like chrome mozilla etc.
Help appriciated.
Assuming you set up your project correctly in VS, it's Ctrl-Shft-B to compile. The exe / dll files should end up wherever specified by your Build Output directory. To learn about/change this see Change Build Output Directory.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a c# solution that contains my project in Microsoft Visual Studio and I want to add a webapi to it. How would I do that? Specifically what do I need to add references for to get it working?
Visual Studio Version:
Community 2015
.net Version: 4.5
What version of visual studio?
Try adding via nuget.
https://www.nuget.org
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
How can I make Visual Studio run a certain project? I have two projects and it runs the first one I created every time. I'm using VS 2013
You simply have to right click on that project and then select "Set as StartUp Project".
This defines what project should be run/compiled whenever you run/compile.
Here's a screenshot: