SSFox
SSFox

Reputation: 131

Visual Studio 2015 freezes when finished building

My copy of Visual Studio 2015 Community freezes/becomes unresponsive when it's trying to run a successful build, everything else operates as normal. If a build fails, VS operates as it should, giving me an output prompt.

Only when the Output states that the build's been successful, the IDE freezes with no response and even running the compiled .exe from the Debug folder freezes Win Explorer. All projects have been either C++ or C#.

OS: Windows 10, IDE's/Suites installed: VS2015 and Unity 5.2.1f1

Upvotes: 12

Views: 6345

Answers (3)

IngoB
IngoB

Reputation: 2989

Seems like running Visual Studio as Administrator solved the problem for me. (For always running a program as Administrator see How to Run Visual Studio as Administrator by default)

Upvotes: 0

user2979790
user2979790

Reputation: 81

VS 2015 was hanging about half of the time when I would build a particular solution containing seven projects (four C# and one C++).

Under Tools/Options/Projects and Solutions/Build and Run, I changed the Maximum number of parallel project builds from 4 to 1.

This appears to have eliminated the problem.

Upvotes: 4

owairc
owairc

Reputation: 1978

2 options:

  • are there any post-build events in your project?

  • disable the antivirus

Upvotes: 5

Related Questions