-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WPF Bug or not? #2543
Comments
@gomathip02 @vatsan-madhavan Can you please help here? |
Clearing this for triage and investigation. This is definitely a regression from .NET Framework behavior on the same code base. FYI: @SamBent @vatsan-madhavan |
Actually I re-created this project in .NET Framework and I saw the same behavior. I don't believe this is a regression. (See https://github.com/rladuca/WpfNetCoreMvvm) |
Actualy, it's my first report on github, I don't know what to do next... |
…hen App contains a single item. Fixes dotnet#4538 Fixes dotnet#4457 Fixes dotnet#2926 Fixes dotnet#2543 Fixes dotnet#6198
This bug should be fixed by #8853. For now, you can workaround this issue by adding a dummy item in |
Issue Title
System.Windows.Markup.XamlParseException after removing Style definition in App.xaml
General
I'm found an article for building MVVM WPF app here: https://marcominerva.wordpress.com/2020/01/07/using-the-mvvm-pattern-in-wpf-applications-running-on-net-core
Need to download project https://1drv.ms/u/s!Aj5GOysOGfFKl8JVGGa79K0VMW2Fcg?e=dyhVBW
In the App.xaml on lines 17...19 <Style> definition. If remove them, then get an exception
System.Windows.StaticResourceExtension.ProvideValueInternal(System.IServiceProvider, bool)
System.Windows.StaticResourceExtension.ProvideValue(System.IServiceProvider)
MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(System.Windows.Markup.MarkupExtension, System.IServiceProvider)
And inner exception that static resource 'Locator' not found.
The text was updated successfully, but these errors were encountered: