diff --git a/src/dotnet/.devcontainer/Dockerfile b/src/dotnet/.devcontainer/Dockerfile index a3c9745fd..b4f0946ba 100644 --- a/src/dotnet/.devcontainer/Dockerfile +++ b/src/dotnet/.devcontainer/Dockerfile @@ -1,3 +1,7 @@ ARG VARIANT=8.0-bookworm-slim FROM mcr.microsoft.com/dotnet/sdk:${VARIANT} -ENV PATH $PATH:/home/vscode/.dotnet:/home/vscode/.dotnet/tools \ No newline at end of file +ENV PATH $PATH:/home/vscode/.dotnet:/home/vscode/.dotnet/tools + +# clear this environment variable so xml docs from NuGet packages are unpackaged. The default dotnet/sdk image sets it to 'skip'. +# see https://github.com/dotnet/dotnet-docker/issues/2790 +ENV NUGET_XMLDOC_MODE=