Thursday, February 4, 2021

Error C1041 cannot open program database 'C:\Demo_Temp\vstyles\app\Debug\vc142.pdb';

Error C1041 cannot open program database 'C:\Demo_Temp\vstyles\app\Debug\vc142.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS app2 C:\Demo_Temp\vstyles\app\main.c 1

  1. Visual Studio 2013 fatal error C1041 /FS
  2. A Good Solution, very clean I had this problem because different projects in a solution had the same intermediate directory. Changing

    $(Platform)\$(Configuration)\
    to
    $(Platform)\$(Configuration)\$(ProjectName)\

    In Configuration Properties | General | Intermediate Directory in each of the projects solved it.

    A Solution, not so good If you have multiple projects within the solution, you need to add /FS to each project for it to work. Simply select the project->properties->C/C++ -> Commandline ->Additional Options.

  3. This is a paragraph.

  4. This is a paragraph.

  5. This is a paragraph.

  6. This is a paragraph.

  7. This is a paragraph.

  8. This is a paragraph.

  9. This is a paragraph.

  10. This is a paragraph.

  11. This is a paragraph.

  12. This is a paragraph.

  13. This is a paragraph.

  14. This is a paragraph.

  15. This is a paragraph.

  16. This is a paragraph.

  17. This is a paragraph.

  18. This is a paragraph.

  19. This is a paragraph.

No comments:

Post a Comment