Errors result when inheriting from any class in a referenced local project.
No errors.
If MyProject was not built before (or if it was cleaned), a build/compilation error occurs:
Severity Code Description Project Project Rank Path File Line Column Category Source Suppression State Tool
Error Could not copy the file "obj\x86\Debug\MainPage.xbf" because it was not found. Prayer.UWP 4 Build
Error Could not copy the file "obj\x86\Debug\App.xbf" because it was not found. Prayer.UWP 4 Build
Error Cannot resolve Assembly or Windows Metadata file 'Type universe cannot resolve assembly: Commons.Forms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.' Prayer.UWP 4 {PATH_HERE}\MyProject.UWP.csproj Build
If MyProject was successfully built before (like when it is was previously built before the bug is introduced), a runtime error occurs on Xamarin.Forms.Forms.Init(e):
System.Runtime.InteropServices.COMException: 'Error HRESULT E_FAIL has been returned from a call to a COM component.'
It looks like you can get around the error by explicitly adding the class library as a reference to the UWP project. This might be more of a VS issue but I'll leave it open for now.
Most helpful comment
It looks like you can get around the error by explicitly adding the class library as a reference to the UWP project. This might be more of a VS issue but I'll leave it open for now.