1

I was working on a project in C++ and when i tried build it on relase mode it gives me that error:

Error 1 error LNK1104: cannot open file 'c:\users\xxx\documents\visual studio 2012\Projects\Project2\Release\Project2.exe' c:\Users\xxx\documents\visual studio 2012\Projects\Project2\Project2\LINK Project2

2
  • 1
    Read the error message. It says it cannot open project2.exe. Are you doing something that would prevent the linker from opening the file? (Maybe you have the file open somewhere else.) Commented Mar 19, 2013 at 12:43
  • Please submit an answer and accept it. That way the next person who has the problem will know how to fix it. Commented Mar 20, 2013 at 13:26

1 Answer 1

2

I solved this by doing the following:

  1. in command prompt type msconfig and press enter.
  2. Click services tab.
  3. Look for "Application experience" and put tick mark (ie. Select this to enable).
  4. Click ok. And restart if necessary.

Thus the problem will go forever. Build and debug your c++ projects without any disturbance.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.