Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I had developed one windows application in c#.net.
Due to some problem I have formatted my pc and re-installed .Net 3.5.

Now i have opened the same project and trying to develop it.
but at the time of debugging the compiler does not executes my new code.

I have tried Tools > Option > Debugging > General > Require source file......
its not working.

Please help me !
Posted
Updated 9-Aug-11 1:54am
v2

What happen when you click the Debug (on VS)?
 
Share this answer
 
Make new project and copy all files(excpet .sln and .csproj file) in it then try running it
 
Share this answer
 
@CodingLover

C#
switch (tvPurchase.SelectedNode.Text)
{ 
    case "Orders":
        ...
        ...
        break;
    case "Vendors":
        ...
        ...
        break;
}


my first case is my old code...
second one is new code that i added..
breakpoint comes on the second case but do not executes...
 
Share this answer
 
Rebuild the solution.

1) Go to Solution in the solution explorer and Right click
2) Click Rebuild solution
 
Share this answer
 
Comments
CodingLover 9-Aug-11 8:53am    
Clean and rebuild.
Prasad131 9-Aug-11 23:56pm    
Thank You so much for help
rebuild solution solved the problem..
now i am getting breakpoint on each code newly written...
thank you..
Toniyo Jackson 10-Aug-11 1:48am    
You are welcome
you need to rebuild the solution. Also check if the dependent dll's are correctly placed in the referenced path.
 
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