Visual Studio does not create output directory
I have the following lines in the VCLinkerTool section of my project:
OutputFile="$(OutDir)\bin\engine.dll"
ImportLibrary="$(OutDir)\lib\engine.lib"
ProgramDatabaseFile="$(OutDir)\pdb\engine.pdb"
StripPrivateSymbols="$(OutDir)\pbs\engine.pdb"
The directories "bin", "lib", and "pdb" are automatically created in the $(OutDir)
directory, but the "pbs" directory is 开发者_开发问答not.
Any ideas about why this is happening? I have no custom-, pre-, or post-build sections.
Because you are not stripping private symbols from your PDBs.
You need to explicitly set this up in the property pages (Linker -> Debug) if you want pbs
versions of your PDB files.
精彩评论