You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the Windows sample app in Debug locally, there is a crash with the message saying that it cannot locate the resource MaterialBackgroundBrush.
This is caused by the organization of the ResourceDictionaries when the Xaml Merge target is run and generates for Hot Reload.
By default in Debug, the property BatchMergeGenerateForHotReload is true so it results in a generated xaml file like this:
When running the Windows sample app in Debug locally, there is a crash with the message saying that it cannot locate the resource
MaterialBackgroundBrush
.This is caused by the organization of the ResourceDictionaries when the Xaml Merge target is run and generates for Hot Reload.
By default in Debug, the property
BatchMergeGenerateForHotReload
istrue
so it results in a generated xaml file like this:Which will result in a failure
Setting
BatchMergeGenerateForHotReload
to false or running in release generates something like this instead:And with that merged xaml we do not see a crash
The text was updated successfully, but these errors were encountered: