jjzjj

xamlparseexception

全部标签

c# - 如何从用户的机器上获取有用的 WPF .NET 错误信息?

我有一个WPF应用程序,一旦我将它安装到没有安装开发环境的机器上就会崩溃——如果这是一个骗局,欢迎我关闭,但我的搜索功能找不到等价问题。看起来我得到了一个XamlParseException,但没有比这更有用的了。我需要获取有用的信息。浏览Windows7事件日志会给我这个错误日志:Faultbucket,type0EventName:CLR20r3Response:NotavailableCabId:0Problemsignature:P1:MyApp.exeP2:1.0.0.0P3:4b88323dP4:PresentationFrameworkP5:3.0.0.0P6:4a174

c# - .NET 应用程序无法启动并收到 XamlParseException

我编写了一个可以在我的开发电脑(Window7)上安装和运行的应用。开发环境:安装了.NET4和.NET3.5的Window7、VS2010WPFC#在其他客户端计算机(XPSP3、2和1)上,安装没有错误,但无法启动。在任务管理器中,我可以看到应用程序在自行关闭之前短暂占用内存。我通过以下操作确保了.NET3.5在我的开发PC和各种客户端XP机器上的一致性:应用程序面向.NET3.5(或3.5ClientProfile)使用VS2010Installer进行部署:在启动条件下以.NET3.5为目标在调试应用程序和安装程序项目期间,没有任何关于.NET兼容性的错误eventvwr捕获了

c# - .NET 应用程序无法启动并收到 XamlParseException

我编写了一个可以在我的开发电脑(Window7)上安装和运行的应用。开发环境:安装了.NET4和.NET3.5的Window7、VS2010WPFC#在其他客户端计算机(XPSP3、2和1)上,安装没有错误,但无法启动。在任务管理器中,我可以看到应用程序在自行关闭之前短暂占用内存。我通过以下操作确保了.NET3.5在我的开发PC和各种客户端XP机器上的一致性:应用程序面向.NET3.5(或3.5ClientProfile)使用VS2010Installer进行部署:在启动条件下以.NET3.5为目标在调试应用程序和安装程序项目期间,没有任何关于.NET兼容性的错误eventvwr捕获了

c# - Xamarin.Forms.Xaml.XamlParseException : MarkupExtension not found for trans:Translate using a PCL in Release Mode

我非常迫切地想找到下面所述问题的解决方案。我有一个包含4个项目的跨平台解决方案,3操作系统细节MyApp.android,MyApp.Winphone,我的应用程序.IOS和一个PCL项目我的应用程序.BLL在MyApp.BLLbll中,我正在使用MyApp命名空间,在根目录中我有类TranslateExtension.csnamespaceMyApp{[ContentProperty("Text")]publicclassTranslateExtension:IMarkupExtension{readonlyCultureInfoci;conststringResourceId="M

c# - 系统.Windows.Markup.XamlParseException

我写了一个WPF应用程序,在我的电脑上运行正常。现在我正在尝试在W7计算机上部署wpf应用程序。并得到以下异常:Description:Theprocesswasterminatedduetoanunhandledexception.ExceptionInfo:System.Windows.Markup.XamlParseExceptionStack:atSystem.Windows.Markup.XamlReader.RewrapException(System.Exception,System.Xaml.IXamlLineInfo,System.Uri)atSystem.Windo

c# - PresentationFramework.dll 中发生 System.Windows.Markup.XamlParseException'?

我在C#上使用WPF作为下面的代码//MyGUICodehere当我运行应用程序时,它会抛出以下异常Anunhandledexceptionoftype'System.Windows.Markup.XamlParseException'occurredinPresentationFramework.dllAdditionalinformation:'Theinvocationoftheconstructorontype'DVRClientInterface.MainWindow'thatmatchesthespecifiedbindingconstraintsthrewanexcept

c# - PresentationFramework.dll 中发生 System.Windows.Markup.XamlParseException'?

我在C#上使用WPF作为下面的代码//MyGUICodehere当我运行应用程序时,它会抛出以下异常Anunhandledexceptionoftype'System.Windows.Markup.XamlParseException'occurredinPresentationFramework.dllAdditionalinformation:'Theinvocationoftheconstructorontype'DVRClientInterface.MainWindow'thatmatchesthespecifiedbindingconstraintsthrewanexcept