Daniel Rozen
Daniel Rozen

Reputation: 39

Error 1 error LNK1104: cannot open file

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

Upvotes: 1

Views: 3354

Answers (1)

App Work
App Work

Reputation: 22019

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.

Upvotes: 2

Related Questions