The WinForm form icon appears as a class icon in a Visual Studio 2008 project, and you can only open the code without opening the view problem resolution

Source: Internet
Author: User
Background:
Today when you open a WinForm project, the icon appears as a class file instead of the form, in the code right-click the View Designer option, double-clicking the icon opens the code instead of the form design interface, Baidu did not find a solution.
Workaround (not necessarily generic):
1, compile the project to see if there are errors.
2. View the form files that the WinForm form inherits can be opened? Any questions?
3, check out the code, in UndoCheckout, compile, see if it can be

4, check whether the project has been checked out by other people, if checked out, let them check in, and then get the latest version of the code, compile, see if it is possible (I am in this step, done)

Imaginary:

Could it be that someone checked out, causing the file version to be different, the appearance of this situation? I don't know

The class icons are as follows:


The form icons are as follows:


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.