gpt4 book ai didi

.net - 将项目构建配置更改为 Debug模式

转载 作者:行者123 更新时间:2023-12-04 02:57:07 25 4
gpt4 key购买 nike

我正在使用VS2008。每次运行应用程序时,我都会得到一个PopUp。

以下是弹出窗口:

The following module was built with optimizations enabled or without debug information :

C:\Windows\Microsoft.Net\Framework\v2.0.50727\Temporary ASP.NET Files\root\7c06d97f\c871fca3\assembly\dl3\1ed1f335\00d7b454_9450ca01\BArcodingImaging.DLL

To debug this module, change its project build configuration to debug mode. To suppress this message, disable the "Warn inf no user code on launch" debugger option.



我尝试了Google上所有可用的链接来摆脱此错误,但没有任何效果。实际上,大多数链接都是针对VS 2005的。但是我使用的是VS 2008。

我使用以下引用:
http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/1946cf16-ae70-4394-9cd9-9d35f3f012ed/
还有一个在Code Guru上。

最佳答案

1)点击菜单Tools > Settings并选择Expert Settings2)出现了一个名为Build的新菜单。在其中选择Configuration manager3)在Active solution configuration中,单击New...,如下所示:

4)输入Debug作为名称,然后选择从Release复制,如下所示:

5)在项目的属性中,在Build选项卡的顶部,现在出现了一个配置选择器。将Define DEBUG constantDefine TRACE constant标记为已选中。在Advanced中,将Debug Infonone更改为full

如您所见,这确实很痛苦……我发现Monodevelop更加易于使用。

关于.net - 将项目构建配置更改为 Debug模式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5379870/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com