
DDEV Dotnet
Overview
This add-on integrates Dotnet into your DDEV project.
Installation
ddev add-on get FreelyGive/ddev-dotnet
ddev restart
After installation, make sure to commit the .ddev
directory to version control.
Usage
Command |
Description |
ddev dotnet |
Run dotnet commands in your web container. |
Advanced Customization
To change the Docker image:
ddev dotenv set .ddev/.env.web --dotnet-docker-image="mcr.microsoft.com/dotnet/sdk:6.0"
ddev add-on get FreelyGive/ddev-dotnet
ddev restart
Make sure to commit the .ddev/.env.web
file to version control.
All customization options (use with caution):
Variable |
Flag |
Default |
DOTNET_DOCKER_IMAGE |
--dotnet-docker-image |
mcr.microsoft.com/dotnet/sdk:9.0 |
DOTNET_ENVIRONMENT |
--dotnet-environment |
Development |
Credits
Contributed and maintained by @FreelyGive