私の WPF アプリケーションは Windows 7 で正常に動作しています。XP マシンにインストールすると、起動時に次のエラーが表示されます。
フレームワークのバージョン: v4.0.30319
説明: 未処理の例外が発生したため、プロセスが終了しました。
例外情報: System.Windows.Markup.XamlParseException
スタック: System.Windows.Markup.XamlReader.RewrapException (System.Exception、System.Xaml.IXamlLineInfo、System.Uri) で
System.Windows.Markup.WpfXamlLoader.Load (System.Xaml.XamlReader、System.Xaml.IXamlObjectWriterFactory、ブール値、System.Object、System.Xaml.XamlObjectWriterSettings、System.Uri) で
System.Windows.Markup.WpfXamlLoader.LoadBaml (System.Xaml.XamlReader、ブール値、System.Object、System.Xaml.Permissions.XamlAccessLevel、System.Uri) で
System.Windows.Markup.XamlReader.LoadBaml (System.IO.Stream、System.Windows.Markup.ParserContext、System.Object、ブール値) で
System.Windows.Application.LoadComponent (System.Object、System.Uri) で
MyApplication.App.InitializeComponent() で
MyApplication.App.Main() で
この質問への回答で説明されている問題が発生している可能性があると思います。
Windows XP での XamlParseException
場所で PresentationFramework.Aero を使用しているため。これを修正する方法はありますか、それとも Aero を削除する必要がありますか? 私はいくつかのButtonChromeを使用しているので、これは苦痛です
ティア