Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

UWP Project throws error after random amount of time

$
0
0

Hi folks

Since the very beginning of Xamarin.Forms every now and then I had this weird issue where the UWP Project, after weeks or months without changes but relatively frequent builds and rebuilds, would just throw an error on build and no amount of rebuild, restarting of VS or deleting of bin and obj folders or even restarting the machine would solve it.

Right now, as last time it broke, it throws this error:
x:Class type 'YourApp.UWP.MaintPage' is not found in 'YourApp'

Every time this happened I started a new project, copied everything over from the old one, made sure that it was working, and then moved the whole folder back, overwriting everything in the process. Looking at Git, nothing's changed, but it works again.

Is there something like clearing a cache that I can do instead? It's quite the pain (and timeconsuming of course) to do this every time.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>