I am learning in the visual web developer c#, entity framework, and webservices.
I want to be able to run the entity framework for example with out building it a gui, or run a browser.
So condole application with reference can do the job.
Can I add a console application to my Visual Web developer solution?
Thanks
Create the appOn the start page, choose Create a new project. On the Create a new project page, enter console in the search box. Next, choose C# or Visual Basic from the language list, and then choose All platforms from the platform list. Choose the Console Application template, and then choose Next.
Navigate to your Console Project and open it in Visual Studio Code or you can simply type “code .” if your already inside the directory that you want opened. You can run the app by pressing CMD-Shift-P and selecting “Run”. This will open a terminal window that displays “Hello World”.
The first step is to create a new application. Open a command prompt and create a new directory for your application. Make that the current directory. Type the command dotnet new console at the command prompt.
FWIW. In VWD 2010, you can create a library project, then go under project properties and change the project to Console application, and create a method "public static void Main(String[] args) {}", and it will build a console app for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With