32

When trying to design a form in Visual Studio 2010:

enter image description here

How do i tell Visual Studio to ignore whatever's causing the problem and continue?


Research the problem showed two possible solutions:

In my case restarting Visual Studio causes it to get its head out of it's own assembler.

Someone phrase those in the form of an answer, and get free rep. (SO prevents me from posting my own answer).

Community
  • 1
  • 1
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219

2 Answers2

81

Simply restart Visual Studio, and it will get unstuck.

  • It's a bug in Visual Studio.
  • Microsoft isn't going to fix it.
  • Microsoft isn't going to release the source code so anyone else fix it.
  • Microsoft isn't going to even investigate the issue.

So we are where we are: you have to workaround their bugs.

Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
  • Or you can just refresh and clean the solution too. – Ben Dol Jan 24 '14 at 05:21
  • @BenDol i cleaned and rebuilt the solution but it did not fix , hopefully i restarted and it worked, this solution worth vote up – r.hamd Sep 18 '15 at 19:59
  • Thanks for the pointer, it works but you don't have to restart VS, you can just unload / reload the solution or project. – Leo Gurdian May 10 '17 at 20:00
2

It may be contributed by using the method by this.variable() instead of varable();

Whenever the project is opened, the data in the instance is cleared and reset . The previous state of the instance may be lost. So , the warning is here.

Jeff Bootsholz
  • 2,971
  • 15
  • 70
  • 141