.NET 호스트 오류 메시지 및 지원 능력 개선

사소하지만 불편한, .NET 으로 만든 프로그램이 실행 할 때 타겟 .NET 런타임이 PC에 설치되지 않아 실행되지 않는 경우 한번쯤은 경험하셨을 것 같습니다.

이제 .NET 7 Preview 6 부터 이런 경우 적절한 오류 메시지 및 적절한 링크 페이지를 노출하게 됩니다.

You must install .NET to run this application.

App: C:\apps\helloworld\helloworld.exe
Architecture: x64
App host version: 7.0.0-preview.4.22229.4
.NET location: Not found

Learn about runtime installation:
https://aka.ms/dotnet/app-launch-failed

Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win10-x64&apphost_version=7.0.0-preview.4.22229.4

GUI 프로그램의 경우 메시지 창을 통해 정보를 알리게 됩니다.

image

자세한 내용은 아래 링크를 참조하세요.


3개의 좋아요