You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
I'm running vs code and starting a debug session but the deployment of clrdbg fails. The same occurs when I run ./dockerTask -Build in PowerShell
Below is the output
Using arguments
Version : 'VS2015U2'
Location : ''
SkipDownloads : 'false'
LaunchClrDbgAfter : 'false'
RemoveExistingOnUpgrade : 'false'
Info: Using clrdbg version '15.0.26022.0'
Info: Previous installation at not found
Error: Install location is not set
Service 'api' failed to build: The command '/bin/sh -c curl -SL https://raw.githubusercontent.com/Microsoft/MIEngine/getclrdbg-release/scripts/GetClrDbg.sh --output GetClrDbg.sh && chmod 700 GetClrDbg.sh && ./GetClrDbg.sh $CLRDBG_VERSION && rm GetClrDbg.sh' returned a non-zero code: 1****
The text was updated successfully, but these errors were encountered:
In Dockerfile.debug I added:
ARG CLRDBG_INSTALL_LOCATION=.
and modified the && ./GetClrDbg.sh line in Dockerfile.debug to
&& ./GetClrDbg.sh -v $CLRDBG_VERSION -l $CLRDBG_INSTALL_LOCATION
(that's a lowercase L)
Fixed "Error: Install location is not set"
Then I received "unzip command not found. Install unzip for this script to work"
so I added
RUN apt-get update && apt-get install -y unzip && rm -rf /var/lib/apt/lists/*
Right before the curl command. All is working now. I've attached the entire Dockerfile.debug to this comment (added .txt extension to allow upload)
Based off this guide
https://docs.microsoft.com/en-us/dotnet/articles/core/docker/building-net-docker-images
I'm running vs code and starting a debug session but the deployment of clrdbg fails. The same occurs when I run ./dockerTask -Build in PowerShell
Below is the output
Using arguments
Version : 'VS2015U2'
Location : ''
SkipDownloads : 'false'
LaunchClrDbgAfter : 'false'
RemoveExistingOnUpgrade : 'false'
Info: Using clrdbg version '15.0.26022.0'
Info: Previous installation at not found
Error: Install location is not set
Service 'api' failed to build: The command '/bin/sh -c curl -SL https://raw.githubusercontent.com/Microsoft/MIEngine/getclrdbg-release/scripts/GetClrDbg.sh --output GetClrDbg.sh && chmod 700 GetClrDbg.sh && ./GetClrDbg.sh $CLRDBG_VERSION && rm GetClrDbg.sh' returned a non-zero code: 1****
The text was updated successfully, but these errors were encountered: