Visual Studio 2008在调试时崩溃 [英] Visual studio 2008 crash on debug

查看:149
本文介绍了Visual Studio 2008在调试时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual 2015构建的DLL不支持visual 2008应用程序调试是否已知?

Is it a known issue that visual 2008 application debugging is not supported for visual 2015 built DLLs?

示例:我有vs2008项目。它链接到VS2015内置的DLL。如果我只是在没有调试的情况下启动调试或发布,它就有效如果我尝试调试,vs2008崩溃了。使用LoadLibrary的行为方式相同。

Example: I have vs2008 project. It links with a DLL built in VS2015. If I just launch debug or release without debugging, it works. If I try to debug, vs2008 crashes. Using LoadLibrary behaves the same way.

我只是想知道它是一个已知的限制。

I just want to know it is a known limitation.

推荐答案

嗨Ramesh,

Hi Ramesh,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

来自VS2015本身的Dll包还是你在VS 2015中写的?

Is the Dll from VS2015 itself package or you wrote it in VS 2015?

如果您自己编写,也可以尝试在VS 2008中编写它。

If you wrote it yourself, you may try to write it in VS 2008 as well.

如果dll属于VS2015,我想你可以检查它是否可以在VS2015中的3.5版本的较低.Net Framework上进行编译或调试,如果有效,你可以尝试一下在VS2008中使用相同的.NET Framework 3.5版。

If the dll belongs to VS2015, I think you could check whether it could be compiling or debugging on the lower .Net Framework like 3.5 version in VS2015, if it works, you could try it in VS2008 by using the same .NET Framework version 3.5.

正如我们所知,Visual Studio是向后兼容的,较低版本的dll可以在较高版本中正常工作。这里的dll是在VS2015中构建的,它不是为VS2008设计的,我认为这是它无法正常工作并导致VS崩溃的主要原因。

As we’ve known, Visual Studio is backward compatible, the lower version dll may work fine in the higher one. The dll here is built in VS2015 which is not designed for VS2008, and I think this is the main reason that it cannot work well and cause VS crash.

祝你好运,

Fletch


这篇关于Visual Studio 2008在调试时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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