Skip to content

Commit e8d0ebf

Browse files
authored
Clear NUGET_XMLDOC_MODE (#941)
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
1 parent 4f7186e commit e8d0ebf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/dotnet/.devcontainer/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
ARG VARIANT=8.0-bookworm-slim
22
FROM mcr.microsoft.com/dotnet/sdk:${VARIANT}
3-
ENV PATH $PATH:/home/vscode/.dotnet:/home/vscode/.dotnet/tools
3+
ENV PATH $PATH:/home/vscode/.dotnet:/home/vscode/.dotnet/tools
4+
5+
# clear this environment variable so xml docs from NuGet packages are unpackaged. The default dotnet/sdk image sets it to 'skip'.
6+
# see https://github.com/dotnet/dotnet-docker/issues/2790
7+
ENV NUGET_XMLDOC_MODE=

0 commit comments

Comments
 (0)