문제 설명
.net core rc1에서 rc2로 마이그레이션할 때 이 비호환성 문제가 발생하는 이유 (Why I'm getting this incompatibilities issues migrating from .net core rc1 to rc2)
v1.0으로 최종 마이그레이션하기 전에 rc1에서 rc2로 중간 단계를 이동하려고 합니다.
지금 이러한 비호환성 문제가 많이 발생합니다.
종속성 System.Diagnostics.Process 4.1.0‑rc2‑24027은 프레임워크 .NETFramework,Version=v4.5.2를 지원하지 않습니다. 심각도 코드 설명 프로젝트 파일 줄 억제 상태
오류 NU1002 종속성 System.IO.FileSystem.Watcher 4.0.0‑rc2‑24027은 프레임워크 .NETFramework,Version=v4.5.2를 지원하지 않습니다.
.NET Framework 4.5.2 및 .net Core를 대상으로 하려고 합니다.
이 문제를 어떻게 해결할 수 있습니까?
참조 솔루션
방법 1:
The package System.Diagnostics.Process
only supports .Net Standard 1.3, which corresponds to .Net Framework 4.6. So, to use that package, you can't target .Net 4.5.2, but have to target .Net 4.6 or higher.
The same applies to System.IO.FileSystem.Watcher
.
(by StackOverflower、svick)