简体   繁体   English

VS2010:每次重建时都必须不断复制我的PDB文件

[英]VS2010: Have to constantly copy over my PDB files every time I rebuild

I'm using Visual Studio 2010. I work with mostly windows services and web services. 我正在使用Visual Studio2010。我主要使用Windows服务和Web服务。 I use IIS6 w/web sites pointed at my project's bin/debug build, Windows 7, C#...not sure what other info will be relevant...anyway..the problem is that in order to debug I have to copy over PDB files to the temp asp.net dirs 我使用的IIS6带有指向我项目的bin / debug版本,Windows 7,C#的网站...不确定其他信息是否有用...无论如何..问题是要进行调试,我必须复制PDB文件到临时asp.net目录

Every time I rebuild my project (which is huge), I have to drill down into the windows/ms.net/framework/v4/temp/root/[random] directory...wherein I must open up each of the 50-some randomly named directories in there that hold the built dll's, and I must copy the PDB files from my project's /bin/debug directory to each respective dll folder. 每次重建项目时(这是巨大的),我都必须深入Windows / ms.net / framework / v4 / temp / root / [random]目录...在其中,我必须打开50-那里有一些随机命名的目录,其中包含内置的dll,我必须将PDB文件从项目的/ bin / debug目录复制到每个相应的dll文件夹中。 Needless to say this is causing me to grow old faster than I should be. 不用说,这使我的成长速度比我应有的快。

If I don't do this, then when I attach to remote process for debugging and set a breakpoint...I get a circle instead of a dot for a breakpoint and it says something about symbols not loaded. 如果我不这样做,那么当我连接到远程进程进行调试并设置断点时...我得到一个圆圈而不是一个点作为断点,它说明了未加载的符号。

My co-worker says this is a visual studio x64 bug but I think it's a build configuration done wrong. 我的同事说这是Visual Studio x64错误,但我认为这是做错了的构建配置。 Any ideas? 有任何想法吗? Lemme know if you need more information, I'm not sure what's wrong so I apologize if the explanation is a little wonky, thanks Lemme知道您是否需要更多信息,我不确定这是怎么回事,所以如果解释有点古怪,我深表歉意,谢谢

确保不以“发布模式”编译项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM