Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
how to recover corrupted file (Read 625 times)
dhanux
Newbies
*
Offline



Posts: 3
Re: how to recover corrupted file
Reply #4 - Apr 21st, 2017 at 5:55am
 
Thanks for the help. I found an old version of my corrupted  file in VMbuilts folder that was compile the for another arduino board . something is better that nothing.  Smiley
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8074
United Kingdom
Re: how to recover corrupted file
Reply #3 - Apr 20th, 2017 at 9:48am
 
Hi,

Sorry to hear that. Yes I guess it was windows. I can't think of another way to restore the file. Visual Micro does not make copies other than in the build folder.

Back to top
 
WWW  
IP Logged
 
dhanux
Newbies
*
Offline



Posts: 3
Re: how to recover corrupted file
Reply #2 - Apr 20th, 2017 at 9:03am
 
Sir, Thanks for response.

I checked the location and the file was found but its also corrupted.

My computer faced to a blackout due to a unexpected power cut during the compilation of this .ino file last time. That was the reason to corrupt this file. If Visualmicro don't write back to the source files this may be due to the windows file system malfunction due to the power cut?  is there anything that i can do to recover this file?  Cry
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8074
United Kingdom
Re: how to recover corrupted file
Reply #1 - Apr 20th, 2017 at 8:30am
 
Hi,

That's not much fun. Visual Micro doesn't write back to project sources so you should look for the cause. I haven't heard of this before in any application.

If you attempted to build the project prior to the issue then there will be a UniversalBox.cpp in the temp build folder that contains all the .ino code. The build folder will be in your windows temp folder windowsTemp/VMBuilds/UniversalBox/Uno/Debug

Back to top
 
WWW  
IP Logged
 
dhanux
Newbies
*
Offline



Posts: 3
how to recover corrupted file
Apr 20th, 2017 at 6:23am
 
Atmel Studio 7  ver: 7.0.1188
Arduino ver 1.8.1

Project .ino file is currupterd. when i try to open in , windows ask to choose a software to open it. This project was coded with visual micro

when i open it with Notepad++ it shows only NUL
curuption.png

Please help
Back to top
 

curuption.png (135 KB | 32 )
curuption.png
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print