Vs generated an error: “error LNK 1168: unable to open xxxxxx.exe Write to

When writing C + + code with VS, you often encounter this situation when you finish writing the code generation project: “error LNK 1168: unable to open xxxxxx.exe Write.

 

There are three solutions (the first two are temporary but not permanent, and the third is radical)

1. Do nothing, wait for a moment, about a few minutes, you can successfully generate.

2. Delete the. EXE file generated in the previous debug folder, and it will be generated successfully.

3. The most fundamental way: open the control panel – & gt; management tools – & gt; Services – & gt; to enable the application experience service.


Read More: