UWP 프로젝트가 포함 된 Xamarin.Forms 솔루션이 있습니다. 내 dev 컴퓨터는 Windows 8.1이므로 동일한 LAN에 Windows 10이 설치된 다른 PC에 Remote Debug를 설정합니다. Visual Studio에서 UWP 프로젝트를 마우스 오른쪽 버튼으로 클릭하고 "원격 컴퓨터"가 선택되도록 "배포"를 선택해야합니다. 그 후 나는 Remote Machine을 치면 Debug 할 수있다.UWP App 'mscorlib.ni.dll의 System.IO.FileNotFoundException'시작시 예외
이 응용 프로그램은이 원격 디버그를 사용하여 문제없이 작동했습니다.
이 UWP에는 자체 자산 (로고, 아이콘 등)이 없었기 때문에 시각적 자산 섹션에서 이미지를 선택하기 위해 매니페스트 디자이너를 열었습니다. 컴파일, 배포 및 원격 디버그를 다시 시도했습니다. 이제 응용 프로그램이 열리지 않습니다, 나는 다음과 같은 예외를 얻을 : Exception thrown: 'System.Exception' in mscorlib.ni.dll on UWP App Start를 성공하지 :
AppConsume.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Users\Usuario\AppData\Local\DevelopmentFiles\f736c883-f105-4d30-a719-4bf328872f5eVS.Debug_x86.JOHN_SMITH\Xamarin.Forms.Platform.dll'. Cannot find or open the PDB file.
'AppConsume.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Users\Usuario\AppData\Local\DevelopmentFiles\f736c883-f105-4d30-a719-4bf328872f5eVS.Debug_x86.JOHN_SMITH\Xamarin.Forms.Xaml.dll'. Cannot find or open the PDB file.
Excepción producida: 'System.IO.FileNotFoundException' en mscorlib.ni.dll
Excepción producida: 'System.IO.FileNotFoundException' en mscorlib.ni.dll
Excepción producida: 'System.IO.FileNotFoundException' en mscorlib.ni.dll
내가 패키지 데이터 폴더는 여기에 설명 삭제 등의 다른 솔루션을 시도했다.
어떤 아이디어?
업데이트 : 체크 후 System.IO.FileNotFoundException 중단 점 설정에서 현재 예외에 대한 자세한 정보를 얻을 수 있습니다. App.xaml.cs를 파일에서 Xamarin.Forms.Forms.Init(e);
에서
Could not load file or assembly 'ClrCompression, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
수리 비주얼 스튜디오 – lindexi
당신은 새로운 프로젝트 점검을 만들 수 있습니까? –