DLL无法保存在VC ++ 2008中 [英] DLLs not being saved in VC++ 2008

查看:55
本文介绍了DLL无法保存在VC ++ 2008中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Win 7 64位下以默认设置在VS 2008下运行VS 2008,因此可能与此有关,但是只是在此处发布以查看其他人是否遇到了问题,因为我无法在Google搜索中找不到它.不知道我是否安装了VS Service Pack(除了.NET 3.5 SP1之外,关于"框中没有显示).

我通常不在C/C ++中工作,但只需要创建一个小型托管的C ++类库,但是由于某种原因,尽管没有编译器或链接器给出任何错误,但由于某些原因,.DLL文件并未保存. br/>
我尝试了一个简单的Win32 DLL和一个.NET类库.当我构建托管库时,输出目录最终以.OBJ文件和TestLibrary.dll.intermediate-manifest结尾,但没有.DLL本身.与不受管的故事相同.

我还尝试创建一个EXE项目,而不是在尝试构建时打勾空项目"复选框,并收到"Microsoft增量链接器已停止工作"消息,然后出现LNK1000:IncrBuildImage出现内部错误.

I''m running VS 2008 under Win 7 64-bit with UAC on the default setting so that might have something to do with this, but just posting on here to see if anyone else has had the problem since I couldn''t find it on google searches. Not sure if I have VS service packs installed (none show up on the about box other than .NET 3.5 SP1).

I don''t normally work in C/C++ but just need to create a small managed C++ class library but when I build for some reason the .DLL file is not being saved, though neither the compiler or linker are giving any errors.

I''ve tried both a simple Win32 DLL and a .NET class library. When I build a managed library the output directory ends up with .OBJ files and a TestLibrary.dll.intermediate-manifest, but no .DLL itself. Same story with an unmanaged one.

I also tried creating an EXE project, not ticking the "empty project" checkbox and get a "Microsoft Incremental Linker has stopped working" message when I try to build, followed by LNK1000: Internal error during IncrBuildImage.

推荐答案

没关系,我想通了-快疯了.
最终的可执行文件/DLL被保存在解决方案调试文件夹中,而不是项目调试文件夹中. :doh:
Never mind I''ve figured it out - just going mad lol.
The final executables / DLLs were being saved in the solution debug folder rather than the project debug folder. :doh:


这篇关于DLL无法保存在VC ++ 2008中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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