Study

Visual Studio(비주얼 스튜디오) 관련

메디츠 2024. 2. 4. 08:41
반응형

12년 5월 기준.

 

Visual Studio(비주얼 스튜디오) 2010 줄 번호 표시

디버그 > 옵션 및 설정 > 텍스트 편집기 > C/C++

표시에 줄 번호

 

error MSB8031: Building an MFC project for a non-Unicode character set is deprecated. You must change the project property to Unicode or download an additional library. See http://go.microsoft.com/fwlink/p/?LinkId=286820 for more information. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets 369 5 IOKF_Client

VS 2013에서 MBCS(Multi-Byte Character Set)로 설정된 MFC 프로젝트를 컴파일하면 에러 발생. 2013부터는 MBCS MFC 라이브러리(DLL) 미제공. 디폴트인 유니코드를 권장.

http://www.microsoft.com/ko-kr/download/details.aspx?id=40770

 

Project-Configuration Properties-Debugging-Command Arguments

<input.txt

Visual Studio argument 설정

// FILE *fp로 입력받아도 되지만 입력을 미리 설정할 경우

 

"C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (3079): Task could not find "AL.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1A\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed"

// Visual studio 2013 Build error on TFS. .NET Framework 4.5.1 Software Development Kit 설치

 

'const char [13]'에서 'LPCTSTR'(으)로 변환할 수 없습니다

Microsoft Visual Studio 2003까지는 멀티 문자셋인데 2005부터는 디폴트로 유니코드로 설정되기 때문에 발생.

솔루션 탐색기-프로젝트명 우클릭-속성-구성 속성-일반-문자 집합-멀티 바이트 문자 집합 사용

 

Visual Studio argument 설정

Property-Configuration Properties-Debugging-Command Arguments에 input.txt

// FILE *fp로 입력받아도 되지만 입력을 미리 설정할 경우

 

 

반응형