Visual Studio 2010: Projectitem unavailable

11,160

Solution 1

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.

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

Share:
11,160
mistertodd
Author by

mistertodd

Any code is public domain. No attribution required. జ్ఞా <sup>🕗</sup>🕗 Yes, i do write i with a lowercase i. The Meta Stackexchange answer that I am most proud of

Updated on June 11, 2022

Comments

  • mistertodd
    mistertodd about 2 years

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