删除了“发布"配置错误? [英] Deleted "Release" configuration by mistake?

查看:74
本文介绍了删除了“发布"配置错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual C ++ 6.0中错误地删除了发布"配置.

有可能恢复吗?如果可以,怎么办?

我猜这些构建设置驻留在某个文件中.是否对每个项目都是独立的(即,对于每个新项目,它们是从某个VC目录中复制的)?还是对在IDE中开发的所有项目都一样?

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?

推荐答案

从构建"菜单中选择配置".这将打开一个对话框,您可以在其中添加/删除任何调试/发布配置到项目中.
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.


在写字板中打开.dsp并添加与debug和保存该字段.
Open .dsp in a wordpad and add code for release same as debug and save the fiel.


@Yusuf
默认的发布"本身已被删除.我知道我们可以从Build/Configurations中创建Configuration,但是问题是我必须手动对其进行编辑,以使其类似于原始的"Release"配置.

@Shilpi Boosar
是的,谢谢.但这与调试不同(如果我错了,请纠正我).使用记事本打开.dsp文件,然后将其与另一个项目的.dsp文件中的发布设置进行比较,并手动编辑有问题的文件.没问题.

无论如何,感谢大家的答复:):)
@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 :) :)


这篇关于删除了“发布"配置错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆