I need to create several versions of a core project. Few things can change between core project and its extensions, some functionalities and, above all, design (Fonts, colors, etc). For that, I've created a Class Library
. I made a question about that few days ago and I guessed creating the Class Library
was the proper way to do it. Here you have a link to the post.
Now that I have all the project in the library, I'm creating those extensions and I would like to Navigate to Pages of the Class Library
but from the extensions and I get this exception:
Exception thrown: 'System.AccessViolationException' in MyProject.exe
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
The class library contains UserControls
and Pages
but I'm not sure if this is the best way around. So any suggestion or tutorial will be much appreciated.
Thanks!
Luckily there is a workaround by Daniel Vaughan (http://danielvaughan.org/post/UWP-AccessViolationException-when-Navigating-to-a-Page-in-Another-Assembly.aspx):