|
-
Jun 12th, 2012, 10:40 AM
#1
Thread Starter
Lively Member
[RESOLVED] HELP! Form Resource files gone
After a few hours of happy programming I decided to start debugging and see if everything worked.
What I got was 11 errors all on the same subject:
Error 1 Unable to open file 'C:\DragonPit\Projects\Dragonpit\Dragonpit\obj\Release\Dragonpit.Promote.resources': System Error &H80070002& Dragonpit
Error 2 Unable to open file 'C:\DragonPit\Projects\Dragonpit\Dragonpit\obj\Release\Dragonpit.Resources.resources': System Error &H80070002& Dragonpit
Error 3 Unable to open file 'C:\DragonPit\Projects\Dragonpit\Dragonpit\obj\Release\Dragonpit.Resurec.resources': System Error &H80070002& Dragonpit
Error 4 Unable to open file 'C:\DragonPit\Projects\Dragonpit\Dragonpit\obj\Release\Dragonpit.Rules.resources': System Error &H80070002& Dragonpit
Error 5 Unable to open file 'C:\DragonPit\Projects\Dragonpit\Dragonpit\obj\Release\Dragonpit.RuleSpec.resources': System Error &H80070002& Dragonpit
Error 6 Unable to open file 'C:\DragonPit\Projects\Dragonpit\Dragonpit\obj\Release\Dragonpit.SelEvil.resources': System Error &H80070002& Dragonpit
Error 7 Unable to open file 'C:\DragonPit\Projects\Dragonpit\Dragonpit\obj\Release\Dragonpit.SelGood.resources': System Error &H80070002& Dragonpit
Error 8 Unable to open file 'C:\DragonPit\Projects\Dragonpit\Dragonpit\obj\Release\Dragonpit.Setup.resources': System Error &H80070002& Dragonpit
Error 9 Unable to open file 'C:\DragonPit\Projects\Dragonpit\Dragonpit\obj\Release\Dragonpit.SpellCard.resources': System Error &H80070002& Dragonpit
Error 10 Unable to open file 'C:\DragonPit\Projects\Dragonpit\Dragonpit\obj\Release\Dragonpit.Status.resources': System Error &H80070002& Dragonpit
Error 11 Unable to open file 'C:\DragonPit\Projects\Dragonpit\Dragonpit\obj\Release\Dragonpit.Training.resources': System Error &H80070002& Dragonpit
These all relate to form names in the application:
9 other form named .resource files still exist in the directory (named in the errors) but those 11 are missing.
Questions:
1) Where did they go ? nb no random deleting has been done or anything else stupid like that.
2) How do I get them back ?
Edit:
Have found copies of the files in bin/debug directory, its still telling me it can't find the Dragonpit.exe file - this file doesn't exist anywhere on the computer.
Last edited by OgreWookie; Jun 12th, 2012 at 10:57 AM.
Reason: Update on situation
-
Jun 12th, 2012, 12:19 PM
#2
Addicted Member
Re: HELP! Form Resource files gone
Sounds like you might want to look for some file recovery software and see if you can recover them that way. As for the EXE, once you recover the resouce files, that should be recompilabe, but I am sure you know that.
I have had a similar experience, and, unfortunately, had to start from scratch. After that I started saving templates of my forms so that if I lost one or two, I could go back a get a template and have the form up and running again in no time. Another thing I do, is I have two hard drives, and back up projects on the other hard drive. So far I am pretty benighted when it comes to using a source control program though!
-
Jun 12th, 2012, 02:57 PM
#3
Thread Starter
Lively Member
Re: HELP! Form Resource files gone
Having replaced the files from a Backup done 10 days ago all I get now when trying to build/debug is "Build Failed" there are no error messages to tell me why it failed.
What the hell is going on ?
What other problems can cause a build to fail beyond coding mistakes?
Last edited by OgreWookie; Jun 12th, 2012 at 05:47 PM.
Reason: extra question
-
Jun 12th, 2012, 05:50 PM
#4
Thread Starter
Lively Member
Re: HELP! Form Resource files gone
 Originally Posted by skywola
Sounds like you might want to look for some file recovery software and see if you can recover them that way. As for the EXE, once you recover the resouce files, that should be recompilabe, but I am sure you know that.
Now that I've copied backed up versions of the missing files into the folder have I now buggered this option? I've never used file recovery software (not had the need until now).
-
Jun 12th, 2012, 08:42 PM
#5
Addicted Member
Re: HELP! Form Resource files gone
Only way I know to find that out is to try recompiling. Hopefully that does it!
-
Jun 13th, 2012, 12:06 PM
#6
Thread Starter
Lively Member
Re: HELP! Form Resource files gone
Sorted thank god.
Method:
Replace all missing files from backup - note to all: BACKUP YOUR WORK!
Close Visual Studio
Reopen VS
Load project
Build
That final step just will not work unless you shut down and restart the program.
Latest version of the game will be uploaded shortly if anyone wants a quick play.
-
Jun 13th, 2012, 02:28 PM
#7
Thread Starter
Lively Member
Re: HELP! Form Resource files gone
http://www.mediafire.com/?m1w66fgqmtrcxgw
Dragonpit v104. Needs MS.Net 4 to run but anyone on this forum should have that installed already.
-
Jun 14th, 2012, 01:43 AM
#8
Re: HELP! Form Resource files gone
-
Jun 14th, 2012, 09:46 AM
#9
Thread Starter
Lively Member
Re: HELP! Form Resource files gone
Yes, but I still have no idea why it happened in the first place.
Any information would be useful as I certainly don't want it happening again.
Will mark as resolved.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|