I've made a new content page, but forgot to type the name.. So I deleted it an made it again with proper name..
I have done it like this multiple times already, but this time something went wrong and I cannot compile. I have this error message:
Severity Code Description Project File Line Suppression State
Error IDE1100 Error reading content of source file
'C:\Users\shark\source\repos\GalShare\GalShare\GalShare\Views\Page1.xaml' -- 'Could not find file
'C:\Users\shark\source\repos\GalShare\GalShare\GalShare\Views\Page1.xaml'.'. GalShare-XamlProject
C:\Users\shark\source\repos\GalShare\GalShare\GalShare\Views\Page1.xaml 1 Active
I have done nothing except the steps above.. What is the cause of this error and how can I fix it?
In addition to the answers of E.Zhao and messyprogrames, here a step-by-step walkthrough.
Clean Solution:
Navigation Bar > "Build" > "Clean Solution"
Unload project:
Choose your "problem project" on the right side within the solution explorer. Right mouse click > "Unload Project"
Reload project:
Choose your unloaded "problem project" again. Right mouse click > "Reload Project".
Cleaning the project did not solve, but closing and reopening solved my problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With