-
After updating to Visual Studio 2022 it appears that the XAML designer no longer works for this library. In my app.xaml where I have the resources specified it says |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @RayCarrot |
Beta Was this translation helpful? Give feedback.
-
After a bunch of testing I figured out it apparently only happens in projects where I use Edit: I found a temporary solution. If I have Costura only be applied conditionally when in Release mode then the designer will work in Debug mode. This works well enough for now since I only need Costura when publishing. |
Beta Was this translation helpful? Give feedback.
After a bunch of testing I figured out it apparently only happens in projects where I use
Costura.Fody
. As soon as I remove its reference (or simply remove it from theFodyWeavers.xml
file) then it works fine.It's also worth noting that if I include the resource dictionaries directly in the xaml file I'm editing then the designer loads them fine. It only gives me an error when they're only defined in my app.xaml.
I'm at a bit of a loss about what to do though since I never experienced this issue before. I still believe it's related to VS22 since it started around the time I upgraded. I tried downgrading Costura to see if it was an update there which broke it, but that made no difference.
…