Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions 2.0/jessie/kitchensink/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,8 @@ RUN dotnet restore /tmp/warmup/packagescache.csproj \
&& rm -rf /tmp/warmup/

WORKDIR /

# Workaround for https://github.com/Microsoft/DockerTools/issues/87. This instructs NuGet to use 4.5 behavior in which
# all errors when attempting to restore a project are ignored and treated as warnings instead. This allows the VS
# tooling to use -nowarn:MSB3202 to ignore issues with the .dcproj project
ENV RestoreUseSkipNonexistentTargets false
5 changes: 5 additions & 0 deletions 2.0/jessie/sdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ RUN dotnet restore /tmp/warmup/packagescache.csproj \
&& rm -rf /tmp/warmup/

WORKDIR /

# Workaround for https://github.com/Microsoft/DockerTools/issues/87. This instructs NuGet to use 4.5 behavior in which
# all errors when attempting to restore a project are ignored and treated as warnings instead. This allows the VS
# tooling to use -nowarn:MSB3202 to ignore issues with the .dcproj project
ENV RestoreUseSkipNonexistentTargets false
5 changes: 5 additions & 0 deletions 2.0/nanoserver-1709/kitchensink/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,8 @@ RUN dotnet restore C:\warmup\packagescache.csproj `
--source https://api.nuget.org/v3/index.json `
--verbosity quiet `
&& del /F /S /Q C:\warmup

# Workaround for https://github.com/Microsoft/DockerTools/issues/87. This instructs NuGet to use 4.5 behavior in which
# all errors when attempting to restore a project are ignored and treated as warnings instead. This allows the VS
# tooling to use -nowarn:MSB3202 to ignore issues with the .dcproj project
ENV RestoreUseSkipNonexistentTargets false
5 changes: 5 additions & 0 deletions 2.0/nanoserver-1709/sdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ RUN dotnet restore C:\warmup\packagescache.csproj `
--source https://api.nuget.org/v3/index.json `
--verbosity quiet `
&& del /F /S /Q C:\warmup

# Workaround for https://github.com/Microsoft/DockerTools/issues/87. This instructs NuGet to use 4.5 behavior in which
# all errors when attempting to restore a project are ignored and treated as warnings instead. This allows the VS
# tooling to use -nowarn:MSB3202 to ignore issues with the .dcproj project
ENV RestoreUseSkipNonexistentTargets false
5 changes: 5 additions & 0 deletions 2.0/nanoserver-sac2016/kitchensink/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ RUN dotnet restore C:/warmup/packagescache.csproj `
--source https://api.nuget.org/v3/index.json `
--verbosity quiet; `
Remove-Item -Recurse -Force C:/warmup

# Workaround for https://github.com/Microsoft/DockerTools/issues/87. This instructs NuGet to use 4.5 behavior in which
# all errors when attempting to restore a project are ignored and treated as warnings instead. This allows the VS
# tooling to use -nowarn:MSB3202 to ignore issues with the .dcproj project
ENV RestoreUseSkipNonexistentTargets false
5 changes: 5 additions & 0 deletions 2.0/nanoserver-sac2016/sdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ RUN dotnet restore C:/warmup/packagescache.csproj `
--source https://api.nuget.org/v3/index.json `
--verbosity quiet; `
Remove-Item -Recurse -Force C:/warmup

# Workaround for https://github.com/Microsoft/DockerTools/issues/87. This instructs NuGet to use 4.5 behavior in which
# all errors when attempting to restore a project are ignored and treated as warnings instead. This allows the VS
# tooling to use -nowarn:MSB3202 to ignore issues with the .dcproj project
ENV RestoreUseSkipNonexistentTargets false
5 changes: 5 additions & 0 deletions 2.0/stretch/kitchensink/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,8 @@ RUN dotnet restore /tmp/warmup/packagescache.csproj \
&& rm -rf /tmp/warmup/

WORKDIR /

# Workaround for https://github.com/Microsoft/DockerTools/issues/87. This instructs NuGet to use 4.5 behavior in which
# all errors when attempting to restore a project are ignored and treated as warnings instead. This allows the VS
# tooling to use -nowarn:MSB3202 to ignore issues with the .dcproj project
ENV RestoreUseSkipNonexistentTargets false
5 changes: 5 additions & 0 deletions 2.0/stretch/sdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ RUN dotnet restore /tmp/warmup/packagescache.csproj \
&& rm -rf /tmp/warmup/

WORKDIR /

# Workaround for https://github.com/Microsoft/DockerTools/issues/87. This instructs NuGet to use 4.5 behavior in which
# all errors when attempting to restore a project are ignored and treated as warnings instead. This allows the VS
# tooling to use -nowarn:MSB3202 to ignore issues with the .dcproj project
ENV RestoreUseSkipNonexistentTargets false