Probably, there are some changes in VS 2022 for this feature. I have found another workaround which may be helpful = > try to modify the Property Page > Configuration Properties > General > Output Directory.(Don't forget to change the Program Database File Name
option too)
Based on my test, if you set this directory to the directory that you’d like to move the generated .pdb
file to, then the .pdf
file will not be generated in output directory and will be generated to the specific folder.
BTW, before testing, I suggest you remove the generated .pdf
file, in the output directory, and then test again.
Best Regards,
Tianyu
- If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.