ユーザーが管理者の場合、アプリケーションは正常に動作します。しかし、ユーザーが標準ユーザーの場合、アプリケーションは起動時にクラッシュします。
.NET アプリケーションが起動できず、XamlParseException を受け取ることができないという例外情報を取得し ました。
VS2010 と .Net 4.0 を使用しています。
イベントログ:
Exception Info:
System.Windows.Markup.XamlParseException Stack:
at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
at System.Windows.Application.LoadComponent(System.Object, System.Uri)
at MyApp.MainWindow.InitializeComponent()
at MyApp.MainWindow..ctor()
at MyApp.App.Main(System.String[])
アップデート:
何も変更せずにデフォルトの WPF アプリケーションを作成します。それでもクラッシュします。