-
install vscode
-
install Remote - Containers extension
-
initialize devcontainer with command Remote-Containers: Add Development Container Configuration Files
- Choose C# -> .net 6.0 -> lts
-
Reopen the workspace as a Container
- vscode will start the setup of the devcontainer
-
dotnet new sln will create a new empty solution
-
dotnet new web --output example/ will create a new project called example.csproj inside the folder ./example
-
dotnet sln add example/example.csproj will add the newly created project to the solution
-
dotnet run --project example/example.csproj will build and run the application
- dotnet dev-certs https --trust is necessary to trust the https dev certificate
-
Notifications
You must be signed in to change notification settings - Fork 0
matteocalisti/devcontainer-net-6.0
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published