New code being ignored

Hi there,

I am newish to C# and am having an issue, I am making a code change in one project of a large solution in VS2005. When I attempt to debug the code, a dialog box comes up with the message that 'The source file was different from when the module was built'.

I click yes to continue anyway, but the debugger appears to still see the older code. I turned off 'Require source files to exactly match the original' under Tools - Options - Debugger - General, but this just stopped the dialog from appearing.

This project is referenced by other projects, with the 'Save local' property to true. They appear to be copying in the correct version also.

Any ideas, as I am at a loss as to why this is happening.

Regards,
Bmoyno




Answer this question

New code being ignored

  • WvanEck

    Issue was with the bin folder, the dll's were saved in source safe so it was never refreshing them. Once I copied in the updated dll, the code was referenced.

    Cheers



  • PatrickJoyce

    Why dont u set the reference to the project instead of the particular dlls

  • New code being ignored