更改项目生成配置到调试模式 [英] Changing Project Build Configuration to Debug mode

查看:511
本文介绍了更改项目生成配置到调试模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用VS 2008我得到一个弹出每次我跑我的应用程序。

I am using VS 2008. I am getting a PopUp everytime i run my application.

以下是弹出:

下面的模块内建   启用或没有调试优化   信息:

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

要调试此模块,改变其   项目构建配置调试   模式。为了燮preSS此消息,   禁用警告INF上没有用户code   启动调试器选项。

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.

我已经尝试了所有摆脱这个错误可在谷歌的联系,但没有什么工作。其实大部分的环节是VS 2005年,但我使用VS 2008。

I have tried all the links available on the Google to get rid of this error but nothing works. Actually most of the links are for VS 2005. But i am using VS 2008.

我用下面的参考: <一href="http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/1946cf16-ae70-4394-9cd9-9d35f3f012ed/">http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/1946cf16-ae70-4394-9cd9-9d35f3f012ed/ 而一个在code宗师。

I used following reference: http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/1946cf16-ae70-4394-9cd9-9d35f3f012ed/ And one on Code Guru.

推荐答案

这似乎在我的配置都已经bben正确设置与调试,但我有太多这个问题。正是凭借这样的步骤解决:

It seem that in my configuration all have bben set correct with debug ON, but I have too this problem. It is fix with this steps:

  1. 停止我的本地IIS
  2. 关闭所有的视觉工作室
  3. 检查目录缓存从消息时开始调试
  4. 删除该目录 对于是这样的路径: C:\ WINDOWS \ Microsoft.NET \ Framework64 \ v4.0.30319 \临时ASP.NET文件\ eventsservice \ 5d285bc1
  5. 重新启动您的IIS
  6. Rebuld项目,解决方案 完成!
  1. Stop my local IIS
  2. Close all visual studios
  3. Check directory cache from your message when start to debug
  4. delete this directory For was this path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\eventsservice\5d285bc1
  5. Start again your IIS
  6. Rebuld projects, solutions Done!

该问题可能会在您的解决方案被becouse有项目的diferent框架版本。 确认这一点并正确设置它。所有的项目是与引用必须使用相同的架构版本。

The problem may be becouse in your solution have project with the diferent framework version. Check this too and set it correctly. All project that are reference between must use the same framework version.

这篇关于更改项目生成配置到调试模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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