Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The /pdb compiler option specifies the name and ___location of the debug symbols file.
/pdb:filename
Arguments
- filename
The name and ___location of the debug symbols file.
Remarks
When you specify /debug (C# Compiler Options), the compiler will create a .pdb file in the same directory where the compiler will create the output file (.exe or .dll) with a file name that is the same as the name of the output file.
/pdb allows you to specify a non-default file name and ___location for the .pdb file.
This compiler option cannot be set in the Visual Studio development environment, nor can it be changed programmatically.
Example
Compile t.cs and create a .pdb file called tt.pdb:
csc /debug /pdb:tt t.cs
See Also
Tasks
How to: Modify Project Properties and Configuration Settings