Click here to Skip to main content
15,919,613 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to all,

I'm woking in c# windows application. my visual studio version is 2010 and Os is Windows XP. My problem is When i copy the application from another machine which is windows 7, i could't see the design page in my application. It shows the error message like "<b>The designer could not be shown for this file because none of the classes within it can be designed</b> ". Code Window is opened without problem. But intellisense not working in Code Window. So please any one help me.. Thanks.
Posted

Try cleaning the solution and rebuilding it.
 
Share this answer
 
According to MSDN you need to do given task
To correct this error
Forms and controls must derive from a base class that supports designers. If you are deriving from something, such as an inherited form or control, within the project you are working in, you need to make sure the project is built by selecting Build Solution from the Build menu.
Reference Link :- MSDN-[The designer could not be shown for this file because none of the classes within it can be designed][^]
 
Share this answer
 
hi,

check the namespace is correct or not..
then check same for designer.cs form..

may this work for u..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900