Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010: Projectitem unavailable

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:

  • Merideth was able to click "Ignore and Continue". (i have no such option)
  • [Dan simply restarted Visual Studio (Visual Studio 2005)

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).

like image 833
Ian Boyd Avatar asked Nov 21 '11 15:11

Ian Boyd


2 Answers

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.

like image 169
Ian Boyd Avatar answered Sep 18 '22 22:09

Ian Boyd


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.

like image 25
Raju yourPepe Avatar answered Sep 20 '22 22:09

Raju yourPepe