Sign in to follow this  
rohini chandra

problems with pdf files in Visual studio .Net 2003

Recommended Posts

Hi, I am facing a strange problem with the .pdb files in one of the project workspaces I am working with.This is during an upgrade from Visual studio 6.0 to Visual Studio .Net 2003. The workspace has two projects A,B. When I build project A it asks for a checkout of the B.pdb file along with A.exe,.map,.pdb. When I build project B it asks for a checkout of the A.pdb file along with B.exe,.map,.pdb. When I check out the requested file(B.pdb) when building project A,all the .exe,.map,.pdb of project A get built but the .pdb file of B project gets disturbed.It shows it to be zero bytes and vics versa when I build B project. I have built these two projects in VC++6.0 where I did not face this problem. In VC++6 project A did not even ask for a check out of project B's pdb and vics versa. I don't feel there is problem with the code but I have made some very minor code changes to get these 2 projects compiled in vc++7.1 like including winsock2.h ahead of windows.h. I have checked the settings in VC++7.1 with vc++6.0 settings. I would be pleased if anyone can help me.Anyhelp is appreciated. Thanks&Regards, Rohini Chandra P

Share this post


Link to post
Share on other sites
Hi Nitage,


Both the project's .exe,.map,.pdb files are placed in the same release
folder.
The project setting "Extensions to Delete on clean" under General
project settings has .pdb extension also.
The intermidiate directory and the output directory is the same release
folder in which all the exe,.map,pdb files are kept.


Due to this when I rebuild one of the projects say project A,it deletes
the both the .pdb's. During the cleanup not only pdb of A that is
currently built but also pdb of project B is deleted.


when the build is completed new pdb of project A is built but pdb of
project B remains zero because it is not built.


This is all due to both project's pdb files being placed in the same
release directory.


If I do not checkout the other project's pdb then obviously it does not
delete.


But when I do rebuild solution both the project's pdb's become zero
as cleanup is done during individual project's building.


One solution would be placing the pdb's in different folders but that
option is not that feasible
in my case.


Can this be solved by changing any project settings or in any other
way.


All went fine in VC++6.0.


I have built these two projects in VC++6.0 where I did not face this
problem.


Thanks&Regards,
Rohini Chandra P


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this