Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

.NET Core Console

Krzysztof Cwalina edited this page Feb 20, 2015 · 11 revisions

##Writing simple console applications for the .NET Core.

To play with .NET Core console applications you will need to install Visual Studio 2015 Preview. You can get a preview at the Visual Studio 2015 Preview Downloads page.

Once you have Visual Studio 2015 installed, clone the corefxlab repository, and open the .\demos\CoreClrConsoleApplications\HelloWorld\HelloWorld.sln solution file.

Make sure your NuGet package sources include the following:

  • key="myget.org dotnet-corefx" value="https://www.myget.org/F/dotnet-corefx/"
    
  • key="nuget.org" value="https://www.nuget.org/api/v2/"
    

You can now hit ctrl + F5 to build and start the application.

Note: the project does not support Windows 7 by default. To build the application for Windows 7, just uncomment the element in the HelloWorld.csproj that say "Uncomment this to produce Windows 7 application".

Clone this wiki locally