'There is no editor available' error in VS 2010

后端 未结 12 1179
面向向阳花
面向向阳花 2021-01-12 13:48

When I tried to select designer view in VS 2010 I get this error:

There is no editor available for \'c:\\user\\teadrinkinggeek\\documents\\visual

相关标签:
12条回答
  • 2021-01-12 14:30

    I am very new to VS 2010 and I had this same problem. I spent hours on the net to no avail. Out of desperation I created a new solution and the copied all my existing files into it's directory. I then entered my new app and said "show all files". All my 'old' files were displayed, with "white icons" . I then right-clicked each file and said add to project for each one. I then rebuilt all and everything is back to normal and it did not take long. Hope it can help someone. I know it does not sound to professional, but hey, it works. Arthur Oliver

    0 讨论(0)
  • 2021-01-12 14:36

    I made a ‘painful’ decision to uninstall all things related to VS 2010, and re-install from scratch. After 6 hours of troubleshooting, re-installing VS 2010 again, it worked.

    Note: I initially run Visual Web Developer side-by-side with VS 2010. I uninstalled that package too. Maybe the two packages caused the problem? However I spoke to one developer on Twitter, he said he had no problem with both packages working side-by-side. Maybe it was the way I initially installed them.

    If you have the same problem, please backup your work, projects etc, before you uninstall, otherwise you might run into more problems.

    0 讨论(0)
  • 2021-01-12 14:36

    I've been struggling with this issue with Visual Basic Express 2008 for ages and have tried just about every solution that I came across. As per the solution from Cody Gray I opened a command prompt at c:\program Files\Microsoft Visual Studio 9.0\Common7\IDE and then executed

    vbexpress /resetskippkg
    

    When VB Express 2008 opened all was well and I could at last access the form designer window! Worked a treat!!!

    0 讨论(0)
  • 2021-01-12 14:38

    I had this issue and it was easly resolved by the following:

    Right-Click on the .edmx file --> Open With --> ADO.NET Entity Data Model Designer and then Set as Default.

    0 讨论(0)
  • 2021-01-12 14:44

    I switched my target framework for this project from older 2.0 to 4.0 and designer opened.

    0 讨论(0)
  • 2021-01-12 14:45

    You can also receive this message if the Build Action property is set to None on the (.cs/.vb) file.

    Click on the (.cs/.vb) file in your project, look at the Properties Window (press F4 if not visible), make sure that the Build Action property is set to Compile.

    Its a really misleading error message in this case.

    0 讨论(0)
提交回复
热议问题