none
Converted project from VS2003 to VS2010 can't open .pch file. RRS feed

  • Question

  • I am trying to use my VS2003 project in VS2010. It converts OK then builds OK in Debug, but errors on build in Release -

    Cannot open precompiled header file: '\Release/*.pch' : No such file or directory.

    Friday, July 13, 2012 11:55 AM

Answers

  • I have solved the problem:

    On Project Property\Configuration Properties\C/C++\Precompiled Headers\Precompiled Headers set it to Not Using Precompiled Headers instead of Use (/Yu).

    • Marked as answer by Brian456 Friday, July 13, 2012 1:29 PM
    Friday, July 13, 2012 1:28 PM

All replies

  • This forum supports .NET Framework installation and setup.

    You appear to have an issue converting a VS 2003 project to VS 2010. Here is the Visual Studio setup forum, where you'll get the best answers:

    http://social.msdn.microsoft.com/Forums/en-US/vssetup/threads

    Hint: when you post there, add pertinent details, such as the actual build error messages and code snippets where the errors occurred.

    Friday, July 13, 2012 1:15 PM
  • I have solved the problem:

    On Project Property\Configuration Properties\C/C++\Precompiled Headers\Precompiled Headers set it to Not Using Precompiled Headers instead of Use (/Yu).

    • Marked as answer by Brian456 Friday, July 13, 2012 1:29 PM
    Friday, July 13, 2012 1:28 PM