如何在WPF中制作不可本地化的SplashScreen
我只是将国际化添加到我的下一个WPF应用程序中 然后我注意到卫星DLL中会有相当数量的复制,因此将不会在.csproj中本地化的图像标记为如何在WPF中制作不可本地化的SplashScreen,wpf,exception,localization,internationalization,satellite-assembly,Wpf,Exception,Localization,Internationalization,Satellite Assembly,我只是将国际化添加到我的下一个WPF应用程序中 然后我注意到卫星DLL中会有相当数量的复制,因此将不会在.csproj中本地化的图像标记为 <Localizable>False</Localizable> 当执行Show调用时,会抛出一个异常。这是异常输出 A first chance exception of type 'System.IO.IOException' occurred in WindowsBase.dll A first chance exceptio
<Localizable>False</Localizable>
当执行Show调用时,会抛出一个异常。这是异常输出
A first chance exception of type 'System.IO.IOException' occurred in WindowsBase.dll
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Step into: Stepping over method without symbols 'System.RuntimeType.CreateInstanceImpl'
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Step into: Stepping over method without symbols 'MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance'
A first chance exception of type 'System.Xaml.XamlObjectWriterException' occurred in System.Xaml.dll
Step into: Stepping over method without symbols 'System.Windows.Markup.WpfXamlLoader.Load'
A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
其他信息:“对与指定绑定约束匹配的类型“MainWindow”调用构造函数时引发了异常。”行号“4”和行位置“9”
当我删除错误行时,它会再次工作
有没有办法加载存储在test.unlocalizable.g.resources中的我想要的资源
A first chance exception of type 'System.IO.IOException' occurred in WindowsBase.dll
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Step into: Stepping over method without symbols 'System.RuntimeType.CreateInstanceImpl'
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Step into: Stepping over method without symbols 'MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance'
A first chance exception of type 'System.Xaml.XamlObjectWriterException' occurred in System.Xaml.dll
Step into: Stepping over method without symbols 'System.Windows.Markup.WpfXamlLoader.Load'
A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll