Microsoft MVP성태의 닷넷 이야기
오류 유형: 187. Parameter "basePath" cannot be a relative path [링크 복사], [링크+제목 복사],
조회: 28242
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Parameter "basePath" cannot be a relative path

Visual C++ 프로젝트를 다음과 같이 별도로 외부 exe 프로그램을 지정해서 디버깅하려는 경우,

debug_run_error_vc_1.png

'Parameter "basePath" cannot be a relative path'라는 오류가 발생하면서 디버깅 시작이 안 될 수 있습니다.

원인은 다음의 글에서 잘 설명되어 있습니다. ^^

Parameter "basePath" cannot be a relative path - error from VS2010
; http://social.msdn.microsoft.com/Forums/vstudio/en-US/281bc02c-2da6-4657-a0eb-868d43cbdbaf/parameter-basepath-cannot-be-a-relative-path-error-from-vs2010

즉, 위의 그림에서 제가 설정한 "Command"의 값은 다음과 같은데요.

"C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer20.exe"

이렇게 큰따옴표(")를 넣는 경우 Visual Studio는 "Parameter "basePath" cannot be a relative path"라는 오류를 내면서 디버거 시작을 하지 못합니다. 따라서 다음과 같이 큰따옴표를 제거해서 설정해주면 됩니다.

C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer20.exe




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 8/18/2021]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 106  [107]  108  109  110  111  112  113  114  115  116  117  118  119  120  ...
NoWriterDateCnt.TitleFile(s)
11282정성태8/26/201720373Math: 22. 행렬로 바라보는 피보나치 수열
11281정성태8/26/201722568.NET Framework: 677. Visual Studio 2017 - NuGet 패키지를 직접 참조하는 PackageReference 지원 [2]
11280정성태8/24/201720031디버깅 기술: 94. windbg - 풀 덤프에 포함된 모든 모듈을 파일로 저장하는 방법
11279정성태8/23/201731389.NET Framework: 676. C# Thread가 Running 상태인지 아는 방법
11278정성태8/23/201719827오류 유형: 417. TFS - Warning - Unable to refresh ... because you have a pending edit. [1]
11277정성태8/23/201720977오류 유형: 416. msbuild - error MSB4062: The "TransformXml" task could not be loaded from the assembly
11276정성태8/23/201724815.NET Framework: 675. C# - (파일) 확장자와 연결된 실행 파일 경로 찾기 [2]파일 다운로드1
11275정성태8/23/201734186개발 환경 구성: 323. Visual Studio 설치 없이 빌드 환경 구성 - Visual Studio 2017용 Build Tools [1]
11274정성태8/22/201720845.NET Framework: 674. Thread 타입의 Suspend/Resume/Join 사용 관련 예외 처리
11273정성태8/22/201722317오류 유형: 415. 윈도우 업데이트 에러 Error 0x80070643
11272정성태8/21/201726154VS.NET IDE: 120. 비주얼 스튜디오 2017 버전 15.3.1 - C# 7.1 공개 [2]
11271정성태8/19/201720059VS.NET IDE: 119. Visual Studio 2017에서 .NET Core 2.0 프로젝트 환경 구성하는 방법
11270정성태8/17/201732274.NET Framework: 673. C#에서 enum을 boxing 없이 int로 변환하기 [2]
11269정성태8/17/201722385디버깅 기술: 93. windbg - 풀 덤프에서 .NET 스레드의 상태를 알아내는 방법
11268정성태8/14/201722436디버깅 기술: 92. windbg - C# Monitor Lock을 획득하고 있는 스레드 찾는 방법
11267정성태8/10/201726099.NET Framework: 672. 모노 개발 환경
11266정성태8/10/201726234.NET Framework: 671. C# 6.0 이상의 소스 코드를 Visual Studio 설치 없이 명령행에서 컴파일하는 방법
11265정성태8/10/201754151기타: 66. 도서: 시작하세요! C# 7.1 프로그래밍: 기본 문법부터 실전 예제까지 [11]
11264정성태8/9/201725535오류 유형: 414. UWP app을 signtool.exe로 서명 시 0x8007000b 오류 발생
11263정성태8/9/201720866오류 유형: 413. The C# project "..." is targeting ".NETFramework, Version=v4.0", which is not installed on this machine. [3]
11262정성태8/5/201719438오류 유형: 412. windbg - SOS does not support the current target architecture. [3]
11261정성태8/4/201721882디버깅 기술: 91. windbg - 풀 덤프 파일로부터 강력한 이름의 어셈블리 추출 후 사용하는 방법
11260정성태8/3/201720373.NET Framework: 670. C# - 실행 파일로부터 공개키를 추출하는 방법
11259정성태8/2/201718921.NET Framework: 669. 지연 서명된 어셈블리를 sn.exe -Vr 등록 없이 사용하는 방법
11258정성태8/1/201720249.NET Framework: 668. 지연 서명된 DLL과 서명된 DLL의 차이점파일 다운로드1
11257정성태7/31/201719872.NET Framework: 667. bypassTrustedAppStrongNames 옵션 설명파일 다운로드1
... 106  [107]  108  109  110  111  112  113  114  115  116  117  118  119  120  ...