Some of the developers in my project are having the following strange phenomena:
1. NTrace is being added to an existing project
2. The project gets built for the 1st time w/o any problems
3. Some of the project's code is changed (regardless whether it's tracing code or functional code)
4. When rebuilding the project we get the following warning:
C:\Program Files\MSBuild\NTrace\v2.0\NTrace.CSharp.v4.0.targets(243,3): warning MSB3021: Unable to copy file "obj\Release\foo.pdb" to "obj\Trace\foo.pdb". Could not find file 'obj\Release\foo.pdb'.
and worst, when looking both at obj\release and bin\release we see that the pdb is updated, however the
dll is not (i.e. the dll that was originally built when ntrace was added is still there)
We are working with latest NTrace version on VS2010 SP1.
As I mentioned in the beginning, this happens for some of developers, while for others everything works fine.