Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

비주얼 스튜디오 - Output 창에 색상이 지정된 출력 결과가 "" 식의 문자로 나오는 문제

".NET Conf 2022 x Seoul, Day 1"의 2:56:32 시간에 해당하는 영상을 보면 비주얼 스튜디오의 출력 창에 다음과 같은 결과가 나온다는 언급을 하고 있습니다.

Rebuild started...
1>------ Rebuild All started: Project: BlazorApp1, Configuration: Debug Any CPU ------
Restored F:\test\BlazorApp1\BlazorApp1\BlazorApp1.csproj (in 19 ms).
1>
1>> blazorapp1@1.0.0 build
1>> webpack --mode=production
1>
1>asset BlazorApp1.js 4.23 KiB [compared for emit] [minimized] (name: main)
1>runtime modules 937 bytes 4 modules
1>modules by path ./node_modules/ 8.07 KiB
1>  modules by path ./node_modules/style-loader/dist/runtime/*.js 5.75 KiB
1>    ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js 2.44 KiB [built] [code generated]
1>    ./node_modules/style-loader/dist/runtime/styleDomAPI.js 1.38 KiB [built] [code generated]
1>    ./node_modules/style-loader/dist/runtime/insertBySelector.js 1010 bytes [built] [code generated]
1>    ./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js 300 bytes [built] [code generated]
1>    + 2 modules
1>  modules by path ./node_modules/css-loader/dist/runtime/*.js 2.33 KiB
1>    ./node_modules/css-loader/dist/runtime/noSourceMaps.js 64 bytes [built] [code generated]
1>    ./node_modules/css-loader/dist/runtime/api.js 2.26 KiB [built] [code generated]
1>modules by path ./*.scss 1.62 KiB
1>  ./index.scss 1.18 KiB [built] [code generated]
1>  ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./index.scss 451 bytes [built] [code generated]
1>./index.ts 129 bytes [built] [code generated]
1>webpack 5.68.0 compiled successfully in 1310 ms
1>BlazorApp1 -> F:\test\BlazorApp1\BlazorApp1\bin\Debug\BlazorApp1.dll
1>BlazorApp1 (Blazor output) -> F:\test\BlazorApp1\BlazorApp1\bin\Debug\wwwroot
1>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VisualStudio\v17.0\TypeScript\Microsoft.TypeScript.targets(88,5): warning : Your project does not specify a TypeScriptToolsVersion. The latest available TypeScript compiler will be used (4.3). To remove this warning, set TypeScriptToolsVersion to a specific version or "Latest" to always select the latest compiler.
1>Done building project "BlazorApp1.csproj".
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

원래 위의 출력 결과를 명령행에서 보면 다음과 같이 나오는데요,

vs_color_output_1.png

딱 봐도, 색상에 해당하는 표시가 "" 이런 식의 알 수 없는 문자로 나오는 것을 짐작게 합니다. 이 문제는, Visual Studio의 Output 창이 컬러에 대한 escape 문자 지원을 하지 않아서 그런 것입니다, 현재 이와 같은 문제를 제시한 이슈가 있는데요,

ANSI Color Support in the Output Window
; https://developercommunity.visualstudio.com/t/ansi-color-support-in-the-output-window/1605405

2021년 12월에 제출되었고 답변을 참고했을 때 아마도 조만간 소식이 나오지 않을까 싶습니다. (아울러 관심 있으신 분들은 voting에 참여하시는 것도 좋겠고. ^^)




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







[최초 등록일: ]
[최종 수정일: 2/7/2022]

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

비밀번호

댓글 작성자
 




1  2  3  [4]  5  6  7  8  9  10  11  12  13  14  15  ...
NoWriterDateCnt.TitleFile(s)
13532정성태1/17/20242189닷넷: 2205. C# - SuperSimpleTcp 사용 시 주의할 점파일 다운로드1
13531정성태1/16/20242234닷넷: 2204. C# - TCP KeepAlive에 새로 추가된 Retry 옵션파일 다운로드1
13530정성태1/15/20242189닷넷: 2203. C# - Python과의 AES 암호화 연동파일 다운로드1
13529정성태1/15/20242049닷넷: 2202. C# - PublishAot의 glibc에 대한 정적 링킹하는 방법
13528정성태1/14/20242175Linux: 68. busybox 컨테이너에서 실행 가능한 C++, Go 프로그램 빌드
13527정성태1/14/20242106오류 유형: 892. Visual Studio - Failed to launch debug adapter. Additional information may be available in the output window.
13526정성태1/14/20242203닷넷: 2201. C# - Facebook 연동 / 사용자 탈퇴 처리 방법
13525정성태1/13/20242157오류 유형: 891. Visual Studio - Web Application을 실행하지 못하는 IISExpress
13524정성태1/12/20242215오류 유형: 890. 한국투자증권 KIS Developers OpenAPI - GW라우팅 중 오류가 발생했습니다.
13523정성태1/12/20242027오류 유형: 889. Visual Studio - error : A project with that name is already opened in the solution.
13522정성태1/11/20242188닷넷: 2200. C# - HttpClient.PostAsJsonAsync 호출 시 "Transfer-Encoding: chunked" 대신 "Content-Length" 헤더 처리
13521정성태1/11/20242254닷넷: 2199. C# - 한국투자증권 KIS Developers OpenAPI의 WebSocket Ping, Pong 처리
13520정성태1/10/20241999오류 유형: 888. C# - Unable to resolve service for type 'Microsoft.Extensions.ObjectPool.ObjectPool`....'
13519정성태1/10/20242092닷넷: 2198. C# - Reflection을 이용한 ClientWebSocket의 Ping 호출파일 다운로드1
13518정성태1/9/20242351닷넷: 2197. C# - ClientWebSocket의 Ping, Pong 처리
13517정성태1/8/20242197스크립트: 63. Python - 공개 패키지를 이용한 위성 이미지 생성 (pystac_client, odc.stac)
13516정성태1/7/20242301닷넷: 2196. IIS - AppPool의 "Disable Overlapped Recycle" 옵션의 부작용
13515정성태1/6/20242580닷넷: 2195. async 메서드 내에서 C# 7의 discard 구문 활용 사례 [1]
13514정성태1/5/20242254개발 환경 구성: 702. IIS - AppPool의 "Disable Overlapped Recycle" 옵션
13513정성태1/5/20242175닷넷: 2194. C# - WebActivatorEx / System.Web의 PreApplicationStartMethod 특성
13512정성태1/4/20242142개발 환경 구성: 701. IIS - w3wp.exe 프로세스의 ASP.NET 런타임을 항상 Warmup 모드로 유지하는 preload Enabled 설정
13511정성태1/4/20242161닷넷: 2193. C# - ASP.NET Web Application + OpenAPI(Swashbuckle) 스펙 제공
13510정성태1/3/20242097닷넷: 2192. C# - 특정 실행 파일이 있는지 확인하는 방법 (Linux)
13509정성태1/3/20242121오류 유형: 887. .NET Core 2 이하의 프로젝트에서 System.Runtime.CompilerServices.Unsafe doesn't support netcoreapp2.0.
13508정성태1/3/20242139오류 유형: 886. ORA-28000: the account is locked
13507정성태1/2/20242816닷넷: 2191. C# - IPGlobalProperties를 이용해 netstat처럼 사용 중인 Socket 목록 구하는 방법파일 다운로드1
1  2  3  [4]  5  6  7  8  9  10  11  12  13  14  15  ...