Skip to content

Commit

Permalink
Clear NUGET_XMLDOC_MODE (#941)
Browse files Browse the repository at this point in the history
Clear this environment variable so xml docs from NuGet packages are unpackaged. The default dotnet/sdk image sets it to 'skip'.

Without clearing this environment variable, the XML docs are not unpackaged and won't be used in intellisense.

See dotnet/dotnet-docker#2790
  • Loading branch information
eerhardt committed Jan 31, 2024
1 parent 4f7186e commit e8d0ebf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/dotnet/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
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=

0 comments on commit e8d0ebf

Please sign in to comment.