성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] Get Started with Milvus Vector DB i...
[정성태] cyberark/PipeViewer - A tool that...
[정성태] WinForms in a 64-Bit world – our st...
[정성태] 예제에서 SELECT_SQL도 내부적으로는 SqlCommand/...
[victor] SELECT_LINQ SELECT_SQL 같은 쿼리인...
[victor] 답변 갑사합니다. 예외(Exception)가 났습니다. ...
[정성태] 일단, 위의 방식대로 하면 예외(Exception) 없이 잘 동...
[정성태] Windows 10 (버전 1809)에 이런 기능이 ^^ 추가되...
[정성태] pde windbg extension ; https://lea...
[정성태] // GetEnumerator extensions for Ran...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
제니퍼 .NET
닷넷
COM 개체 관련
스크립트
VC++
VS.NET IDE
Windows
Team Foundation Server
디버깅 기술
오류 유형
개발 환경 구성
웹
기타
Linux
Java
DDK
Math
Phone
Graphics
사물인터넷
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>"message NETSDK1057: You are using a preview version of .NET Core" 빌드 경고 없애는 방법</h1> <p> .NET Core 3.0 preview 설치 후,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > .NET Core 3.0 preview 5를 이용해 Windows Forms/WPF 응용 프로그램 개발 ; <a target='tab' href='http://www.sysnet.pe.kr/2/0/11937'>http://www.sysnet.pe.kr/2/0/11937</a> </pre> <br /> 비주얼 스튜디오에서 기존의 .NET Core 2.x 프로젝트를 빌드 시 다음과 같은 경고가 발생합니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > 1>c:\program files\dotnet\sdk\3.0.100-preview5-011568\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(157,5): message NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview </pre> <br /> 물론 그냥 무시해도 되는데 ^^; 그래도 은근 거슬립니다.<br /> <br /> <hr style='width: 50%' /><br /> <br /> 이런 현상을 설명할 수 있는 규칙은 다음의 문서에 나옵니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Select the .NET Core version to use ; <a target='tab' href='https://learn.microsoft.com/en-us/dotnet/core/versions/selection'>https://learn.microsoft.com/en-us/dotnet/core/versions/selection</a> </pre> <br /> <div style='BACKGROUND-COLOR: #ccffcc; padding: 10px 10px 5px 10px; MARGIN: 0px 10px 10px 10px; FONT-FAMILY: Malgun Gothic, Consolas, Verdana; COLOR: #005555'> The process for selecting an SDK version is:<br /> <br /> 1. dotnet searches for a global.json file iteratively reverse-navigating the path upward from the current working directory.<br /> 2. dotnet uses the SDK specified in the first global.json found.<br /> 3. <span style='color: blue; font-weight: bold'>dotnet uses the latest installed SDK if no global.json is found.</span> </div><br /> <br /> 문제는, 3번의 규칙을 피하기 위해 global.json을 프로젝트 수준에서 포함시켜도 저 경고는 없어지지 않는다는 점인데요, 그래도 다행히 검색해 보면,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > how to remove message "You are working with a preview version of the .NET Core SDK" ; <a target='tab' href='https://stackoverflow.com/questions/50423404/how-to-remove-message-you-are-working-with-a-preview-version-of-the-net-core-s'>https://stackoverflow.com/questions/50423404/how-to-remove-message-you-are-working-with-a-preview-version-of-the-net-core-s</a> </pre> <br /> 프로젝트 자체에서 제공하는 옵션을 찾을 수 있습니다. ^^<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > <PropertyGroup> <span style='color: blue; font-weight: bold'><SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage></span> </PropertyGroup> </pre> </p><br /> <br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
1835
(왼쪽의 숫자를 입력해야 합니다.)