In the process of refactoring some code, I encountered several build errors such as these:
Library project file cannot specify ApplicationDefinition element.
This is also when we copy paste an Image/XAML File to ClassLibrary Project.
Change the Build Action Property of that image to resources