Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
No suitable method found to Override.

But, It was alright before my system terminated unexpectedly.
 
Now I Right Clicked it then
 
-> Open with Notepad: It shows Null Null Null...and goes on.
Posted 22-Feb-13 0:52am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

If you have a backup, I would restore from there.
If you don't, then the chances are you will have to start the class again pretty much from scratch.
 

If your system terminated unexpectedly, it sounds like it was writing the class file when it failed - and the results are a mangled or unreadable file. In all probability, the data in teh file is just rubbish, and cannot be trusted.
 
Try making a copy of your project folder, and opening VS normally - check if the class file is even slightly readable, or VS may offer to restore a temporary file. If it does, go for it and hope you haven't lost too much work.
 
And if you don't have a backup, you have just discovered why I have an automated system doing incremental backups of my files each and very hour...
  Permalink  
Comments
ArunAmalraj at 22-Feb-13 7:14am
   
@ OriginalGriff: Will have a try and let you know further. Thanks!!

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

  Print Answers RSS
0 Kornfeld Eliyahu Peter 430
1 OriginalGriff 304
2 Nelek 115
3 Sergey Alexandrovich Kryukov 99
4 Gihan Liyanage 99
0 Kornfeld Eliyahu Peter 420
1 OriginalGriff 140
2 Gihan Liyanage 99
3 Nelek 65
4 sankarsan parida 65


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 22 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100