D
D
DVamp1r32013-05-12 13:58:03
Microsoft
DVamp1r3, 2013-05-12 13:58:03

Problems when debugging in Visual Studio 2012 Express?

Hello, I think there are a lot of programmers on Habré who use VS, who, like me, have switched to the latest version. Only some jambs confuse me:
1. Errors of the form:

Error	4	error LNK1168: cannot open C:\Users\Dmitry\documents\visual studio 2012\Projects\Project2\Debug\Project2.exe for writing	C:\Users\Dmitry\documents\visual studio 2012\Projects\Project2\Project2\LINK	Project2
. Among the possible solutions, Google, as always, issued solutions in the form of “turn off the firewall, antivirus, uak, check if the process is running, etc.”. But the fact is that everything that is possible is already disabled, the process is not running, and plus everything is perfectly removed through the explorer.
2. Similar errors when cleaning the project and building again, only this time it is not possible to delete the file through the explorer, i.e. the file is indeed blocked by something, but it is also not clear how to solve it.
Before that I worked with versions 2008 and 2010, I never had such problems.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DVamp1r3, 2013-05-20
@DVamp1r3

The problem was the behavior of UAC in Windows 8, which was unfamiliar to me. Even when it was turned off, it still affected the behavior of the system. I got the impression that it is better not to turn it off, because. when it is enabled, at least you can explicitly do some actions in the context menu (and apparently systemically) with administrator rights. And when it is turned off, some actions cannot be performed even though the account has the necessary rights. In general, after a rollback to Windows 7, VS works like a clock.

M
Michael, 2013-05-12
@gmikhail94

To begin with, look at what this process is doing in, for example, Process Explorer, and based on this we will solve the problem.
PS: en.wikipedia.org/wiki/Process_Explorer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question