Click here to Skip to main content
15,113,726 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
one form in our project not open in designer view.
error show when i want to debug project
"
Error	23	Expected class, delegate, enum, interface, or struct	C:\Users\ashutosh.jha\Desktop\Middle Ear Risk Index\Middle Ear Risk Index\Middle Ear Risk Index\POST_SURGERY .cs	1179	17	Middle Ear Risk Index
"

Please help

What I have tried:

i tried rebuild and clean solution
Posted
Updated 20-Apr-21 22:40pm

We can't help you: we have no access to your files, and it's your code that is causing the problem.

Start by looking at the file it names in the error, (but do bear in mind that ending file names with a space is a bad idea) and look at the line number it references: 1179 (CTRL+G will allow you to go directly to a line in most editors, including VS), and see what is around column 17. That may not be exactly where the error is being caused, it could be extra or missing curly bracket that is causing it, but that's where VS spotted the problem so it's the best place to start.

Sorry, but we can't do that for you!
   
My best guess: try to find missing bracket: ( or { or } or )
   

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

  Print Answers RSS
Top Experts
Last 24hrsThis month



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