Click here to Skip to main content
15,881,516 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I deleted the "Release" configuration by mistake in Visual C++ 6.0.

Is it possible to recover it? If so how?

I guess those build settings reside in some file. Is it independent for each project (i.e. for each new project, they're copied from some VC directory)? Or is it the same for all projects developed in the IDE?
Posted
Comments
Dylan Morley 18-Jan-11 6:47am    
Are you using Source control? If not, time to start! Things like this recoverable from just a click - 'Revert'

From the Build Menu select Configurations. This will open a dialog box where you can Add/Remove any debug/release configuration(s) to your project.
 
Share this answer
 
Comments
Espen Harlinn 18-Jan-11 12:13pm    
5+ That's how to do it :)
Open .dsp in a wordpad and add code for release same as debug and save the fiel.
 
Share this answer
 
@Yusuf
The default "Release" itself was deleted. I know we can create Configuration(s) from from Build/Configurations, but the problem is I'll have to edit it manually so that it resembles the original "Release" config.

@Shilpi Boosar
Yea thanks. But that isn't the same as debug (correct me if I'm wrong). Opened the .dsp with notepad, compared with the release settings in another project's .dsp file and editied the faulty one manually. That worked.

Anyway thanks all for your replies :) :)
 
Share this answer
 
a) Open .dsp in a wordpad.
b) Add code for release same as debug.
c) After all the changes done save the .dsp file.
d) Now open your project. You have found the release configuration.
 
Share this answer
 
Comments
Richard MacCutchan 18-Jan-11 7:15am    
See Yusuf's answer for the proper way to do it.
ShilpiP 18-Jan-11 7:18am    
Yes I know this way also but working on Brew, I have to manage many configuration so its a kind of copy paste and the instinct answer comes in my mind was to update dsp file. Thanks :)

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