1

当我尝试调试 Xamain 窗体应用程序目标 windows phone 8.1(设备或模拟器)silverlight 应用程序时,但始终输出此错误并结束调试模式。有人知道如何解决这个问题吗?

操作系统:windows 8.1 pro IDE:visual studio 2013 Ultimate update 5 项目:Xamarin forms windows phone 8.1项目

我已经尝试了另一台PC,相同的代码但是vs2013 update 4,它可以运行得很好,但有些我不知道为什么,现在也出现了这个问题。

AéHost.exe’ (CoreCLR: Silverliéht AppDomain): Loaded lCIKwindows\system32KWinMetadataKWindows.winmd’. Cannot-find or open the PDB file.
AgHost.exe’ (CoreCLR:Silverlight AppDomain): Loaded lCI\DataKProgramsK{7AACo885n84A3u4FFE-B677-3218599B3691}\Install\Xamarin.Forms.Platform.WP8.DLL’.
AgHost.exe’ (CoreCLR:Silverlight AppDomain): Loaded lCI\DataKProgramsK{7AACo885n84A3u4FFE-B6??-3218599B3691}\Install\CrossPlatform.DLL’. Symbols loade
AgHost.exe’ (CoreCLR:Silverlight AppDomain): Loaded ’C:\DataKProgramsK{?    AA50885*84A3“4FFE-B6??-3218599B3691}KInstallKXamarin.Forms.Core.DLL’. Module w
AgHost.exe’ (CoreCLR:Silverlight AppDomain): Loaded lCI\windowsKsystem32KSystem.Runtime.ni.dll’. Symbols loaded.
AgHost.exe’ (CoreCLR:Silverlight AppDomain): Loaded lCIKwindowsKsystem32KSystem.UbjectModel.ni.dll’. Symbols loaded.
AgHost.exe’ (CoreCLR:Silverlight AppDomain): Loaded lCIKwindowsKsystem32KSystem.Collections.ni.dll’. Symbols loaded.
AgHost.exe’ (CoreCLR:Silverlight AppDomain): Loaded lCI\windowsKsystem32KSystem.Linq.ni.dll’. Symbols loaded.
A first chance exception of type System.Io.FileNotFoundException occurred in CrossPlatform.WinPhone.DLL
AgHost.exe’ (CoreCLR:Silverlight AppDomain): Loaded lCI\windowsKsystem32Ken-USKmscorlib.debug.resources.dll’. Module was built without symbols.
A first chance exception of type lSystem.Reflection.TargetInvocationException’ occurred in mscorlib.ni.dll
A first chance exception of type lSystem.Reflection.TargetInvocationException’ occurred in Microsoft.Phone.ni.dll
The program ’[5328] AgHost.exe’ has exited with code -1 (Uxffffffff).
Package Manager Console Error List Output
4

1 回答 1

0

经过长时间的排查,发现windows phone 8.1 SDK没有正确安装,还有这种问题的请检查一下你的visual studio组件。

于 2016-01-18T02:48:02.760 回答