Usage Tips:
- Click on a keyword to enable inline editing.
- Click inside a code block to copy (excludes comments).
- Use the button to view examples.
- Click outside to collapse all examples.
Compile C# Project
# Check
dotnet --info
Sample Output:
TO-DO# Prepare
mkdir <PROJECT_NAME>
cd <PROJECT_NAME>
Sample Output:
TO-DO# Init
dotnet new console
Sample Output:
TO-DO# Create .sln file
dotnet new sln
Sample Output:
TO-DO# Link .sln to .csproj
dotnet sln <PROJECT_NAME>.sln add <PROJECT_NAME>.csproj
Sample Output:
TO-DO# Add dependencies (optional)
dotnet add package System.XXXX.XXXX.XXXX --version 1.0.0
Sample Output:
TO-DO+----------------------+
|Add Code to Program.cs|
+----------------------+
Sample Output:
TO-DO# Build solution
dotnet build -c Release
Sample Output:
TO-DO# Run
dotnet run
Sample Output:
TO-DORef: dotnet