Mastering Visual Studio 2019 by Kunal Chowdhury

Mastering Visual Studio 2019 by Kunal Chowdhury

Author:Kunal Chowdhury [Kunal Chowdhury]
Language: eng
Format: epub
Tags: COM000000 - COMPUTERS / General, COM082000 - COMPUTERS / Bioinformatics, COM006000 - COMPUTERS / Buyer
Publisher: Packt Publishing
Published: 2019-08-08T11:04:22+00:00


As we have not specified any name explicitly, it will create a project in the context of the current directory. So, you will see Demo.csproj in that directory, with a C# file named Program.cs.

Let's now create another project, but this time, we will specify a name and the language explicitly. Navigate to the DotNetCore directory in the console window and enter the following command:

dotnet new console -lang C# -n "HelloDotNetCore"

This will create a new folder named HelloDotNetCore, which contains a project that has the same name and a Program.cs code file in C#. If you want to build an F# project, then specify the option as -lang F#. This is shown in the following screenshot by specifying the language as C#:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.