Discussion:
Building error....
(too old to reply)
Allen Maki
2007-07-12 22:31:07 UTC
Permalink
Someone told me that my pdb file is not in sync with my code.

Because, when I have building error, the left
margin pointer will point to the wrong line.

I may have an error message, just because of a commented line (//).
As soon as I delete the commented line, the building error will
disappear.

I wonder if any body has experienced something like this, before. Or
anybody has an idea; what is the reason for that and how can I fix
this problem; I would appreciate it.
Allen Maki
2007-07-13 01:29:58 UTC
Permalink
RESOLUTION
1. Open the source file in the Visual Studio .NET editor.
2. On the File menu, click Advanced Save Options.
3. In the Line Endings list box, click Windows (CR LF), and then click OK.
4. Save the file.
5. Compile the project.
Post by Allen Maki
Someone told me that my pdb file is not in sync with my code.
Because, when I have building error, the left
margin pointer will point to the wrong line.
I may have an error message, just because of a commented line (//).
As soon as I delete the commented line, the building error will
disappear.
I wonder if any body has experienced something like this, before. Or
anybody has an idea; what is the reason for that and how can I fix
this problem; I would appreciate it.
Loading...