vsdbg 국내는 여기에서 다운로드 도구 다운로드 사용 후 처리 방법은 수동으로 너무 느린 설치 다운로드
빌드 콘솔 출력 대 전망 :
1>C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy RemoteSigned -File "C:\Users\xx\AppData\Local\Temp\GetVsDbg.ps1" -Version vs2017u5 -RuntimeID linux-x64 -InstallPath "C:\Users\xx\vsdbg\vs2017u5"
C 수정 : \ 사용자 \ XX \의 AppData \ 로컬 \ 온도는 \ GetVsDbg.ps1는, 코멘트 다운로드, 다운로드 URL을 에코
if (IsLatest $InstallPath $RuntimeID $VersionNumber) {
Write-Host "Info: Latest version of VsDbg is present. Skipping downloads"
} else {
if (Test-Path $InstallPath) {
Write-Host "Info: $InstallPath exists, deleting."
Remove-Item $InstallPath -Force -Recurse -ErrorAction Stop
}
$target = ("vsdbg-" + $VersionNumber).Replace('.','-') + "/vsdbg-" + $RuntimeID + ".zip"
$url = "https://vsdebugger.azureedge.net/" + $target
echo $url
# DownloadAndExtract $url $InstallPath
# WriteSuccessInfo $InstallPath $RuntimeID $VersionNumber
# Write-Host "Info: Successfully installed vsdbg at '$InstallPath'"
}
열기 파워 쉘은 C로 전환 : \ 사용자 \ XX \의 AppData \ 로컬 \ Temp 디렉터리, 실행
./GetVsDbg.ps1 -Version vs2017u5 -RuntimeID linux-x64 -InstallPath "C:\Users\xx\vsdbg\vs2017u5"
# 输出:
Info: Using vsdbg version '16.2.10709.2'
Info: Using Runtime ID 'linux-x64'
https://vsdebugger.azureedge.net/vsdbg-16-2-10709-2/vsdbg-linux-x64.zip
당신은 문제가 발생하면 권한을 RemoteSigned로 설정할 수 있습니다 실행
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
C에 다운로드 할 수있는 도구를 다운로드하고 추출 https://vsdebugger.azureedge.net/vsdbg-16-2-10709-2/vsdbg-linux-x64.zip 복사 : 사용자 \ \ XX \ vsdbg \ vs2017u5
GetVsDbg을 수정 한 후 이 .ps1, 디렉토리 검색을 삭제 취소, 정보가 성공적으로 설치하여 작성
if (IsLatest $InstallPath $RuntimeID $VersionNumber) {
Write-Host "Info: Latest version of VsDbg is present. Skipping downloads"
} else {
# if (Test-Path $InstallPath) {
# Write-Host "Info: $InstallPath exists, deleting."
# Remove-Item $InstallPath -Force -Recurse -ErrorAction Stop
# }
$target = ("vsdbg-" + $VersionNumber).Replace('.','-') + "/vsdbg-" + $RuntimeID + ".zip"
$url = "https://vsdebugger.azureedge.net/" + $target
# echo $url
# DownloadAndExtract $url $InstallPath
WriteSuccessInfo $InstallPath $RuntimeID $VersionNumber
Write-Host "Info: Successfully installed vsdbg at '$InstallPath'"
}
다시 실행
./GetVsDbg.ps1 -Version vs2017u5 -RuntimeID linux-x64 -InstallPath "C:\Users\xx\vsdbg\vs2017u5"
마찬가지로 리눅스 musl-x64 버전을 설치, 설치가 완료, 제안 감소 GetVsDbg.ps1 스크립트