title: Error 'does not support code parsing or generation...' if moving C# project with a picture for Visual Studio 2019
body: <p>I can add an image to a form no problem, and it builds with no errors. Then, when I relocate the project, there is the error '<strong>does not support code parsing or generation because it is not contained within a project that supports code</strong>' when I reopen the project from the new file location. This can be resolved by removing the form and adding it again, however this would have to be done every time the project is opened after being moved, and for anyone trying to open it from a new location.</p>
  
  <p>I've tried adding the image in various ways, and I've tried adding different images. Every time, images are added with no issues in the original project location, however as soon as the project is moved this error keeps occurring.</p>
  
  <p>How can I add an image to a C# project in Visual Studio 2019 while retaining the ability to move the project to a different location without resulting in errors whenever the project is reopened?</p>
  
  <p>*EDIT I'm now wondering if this occurs after a certain amount of time that the project is copied, instead of because of adding an image. I have started to get the error again after I have copied the project about 10 times, which is around when I started to get the error when I was working with an image included in the project.</p>
  
  <p>**EDIT I have rephrased the question here: <a href="https://stackoverflow.com/questions/56425158/after-i-have-copied-a-c-sharp-project-in-visual-studio-2019-about-10-times-or-so">After I have copied a C# project in Visual Studio 2019 about 10 times or so, I get an error when I reopen the project</a></p>