调试报The source file is different from when the module was built error解决办法
来源:互联网 发布:有关网络直播的论文 编辑:程序博客网 时间:2024/05/17 03:41
调试报The source file is different from when the module was built error解决办法!
之前有个项目,一个Solution里面有几个consoleapp,一个website,调试没发现有任何错误,但是今天建立一个新的项目,类似之前的,发现每次改完代码,DLL引用的地址并非我references的地址,Google一下,老外给了各种建议:
I got this issue running a console app where the source that was different was the source that had the entry-point (static void Main). Deleting the bin and obj directories and doing a full rebuild seemed to correct this, but every time I made a code change, it would go out-of-date again.
The reason I found for this was:
I had checked "Only build startup projects and dependencies on Run" (Tools -> Options -> Projects and Solutions -> Build and Run)
In Configuration Manager, my start-up project didn't have "Build" checked
https://stackoverflow.com/questions/3087390/the-source-file-is-different-from-when-the-module-was-built
然而我按照他的步骤,却还是报module was built error!
当然准备crazy的时候,发现在每个项目右键中有个“build dependencies”里面有“project dependencies”引用需要的consoleapp就解决问题了。
- 调试报The source file is different from when the module was built error解决办法
- "The source file is different from when the module was built."问题的解决办法
- The source file is different from when the module was built.
- The source file is different from when the module was built.
- The source file is different from when the module was built.
- The source file is different from when the module was built
- vs2008 提示 the source file is different from when the module was built,Would you like ...
- The source file is different from when the module was built. Would you like the debugger to use it anyway?
- VS2010 Debugger --The source file is different from when the...
- VS2005调试报The following module was built either with optimizations enabled or without debug information
- The source code is different from the original version.
- 解决error: PCH file built from a different branch ((clang-425.0.27)) than the compiler ((clang-425.0.2
- The breakpoint will not currently be hit. The source code is different from the original version
- PCH file built from a different branch ((clang-425.0.24)) than the compiler
- error C2859:debug/vc80.pdb is not the pdb file that was used when this precompiled header was created, recreate the precompiled
- 真机file was built for archive which is not the architecture being linked (armv7s)
- file was built for archive which is not the architecture being linked (armv7s)
- iOS 链接错误file was built for archive which is not the architecture being linked (i386)
- 【c++】类和对象--四个默认成员函数+运算符重载
- (转)关于服务器上tomcat获取时间少8个小时的问题
- 初谈Android-Annotations(二)
- Android定时器,CountDownTimer,AlarmManager
- 《达利之梦》推出APP,带你走进VR超现实画作
- 调试报The source file is different from when the module was built error解决办法
- 转换异常处理
- C++连接MYSQL教程
- 面试 42-2: 左旋转字符串
- 用shell命令操作oracle数据库
- jstl格式化
- python笔记-001-基础(字符串和数值)
- Linux 抽象网络设备简介
- mybatis不用spring下的操作