From the course: Try .NET First Look

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

The two essential Try .NET commands

The two essential Try .NET commands

From the course: Try .NET First Look

Start my 1-month free trial

The two essential Try .NET commands

- [Instructor] Here, I've listed two of the more important Try .NET commands. The first one, dotnet try is how you run and test your project. The second one, dotnet try verify, and then a folder name is how you verify that the project is ready to test. To see this work, I'm running PowerShell in two windows, and I've navigated to the project folders. On the left, I'm in the Simple Console folder, and on the right, I'm in the From Template folder. To make the path easier to read, I've moved the solution folder to the root of the C Drive. Over here, in this PowerShell window, I'll look at the help for dotnet try. This lists how you use dotnet try, and at the bottom you'll see a list of two commands, Demo, which we're not looking at in this course, and the one I just mentioned earlier, which is Verify, and the directory names. Verifies Markdown files in the target directory and it's children. So I'll look in this directory…

Contents