Debugging when files are out of sync

  • Thread starter Thread starter Wayne Sepega
  • Start date Start date
W

Wayne Sepega

I have a file referance for some of our assemblies, if someone else changes
the code and I try to debug it I receive the following error:

The source file is different from when the module was built. Would you like
the debugger to use it anyway?

If I choose NO and hit cancel then I get the following error:

There is no source code available for the current location.

Problem is I never get the original error again. If I delete the project off
the drive and re-open it I get back to the original error. If I duplicate
the issue adn compare the before/after of the directory I don't see any
changes in files.

Question is, how do I get back the original error?
Thanks
Wayne
 
Your project is referencing a DLL.., that has PDB file. This PDB file has to
be current for what func. you are expecting. I have experienced below
problem... Do tell if you have referenced the DLL and set CopyLocal = true,
in your properties for the referenced DLL., if you have set it to false and
reference to DLL from the original location i.e. where it is being complied
and outputted..

HTH..

VJ
 
I understand the issue that is not my question.

I want to know what controls the error message I get. If I hit No, then
cancel I get the "There is no source code available for the current
location."

I want to know how to get back to the original message with out deleting the
app and getting it from VSS.

Wayne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top