• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

Visual Studio MSBuild issue

Has anyone ever experienced a problem with Visual Studio that during compilation, Visual Studio launches an insane amount of msbuild.exe program (currently about 90 in memory) and never shut them down? The compilation then fails without any errors. The MSBuild program stays in memory after with an equals amount of console application. I restarted my computer but it didn’t fix the problem and I don’t remember installing any updates to Visual Studio nor to Windows. This problem started occurring yesterday.

Any tips would be appreciated.
  • 3
2 Solutions
Imran Javed ZiaConsultant Software Engineer - .NET ArchitectCommented:

Please set your following environment variable to 1

to see the process to set variable please go through following:

thayduckProgrammer AnalystAuthor Commented:
I figured out the bug with Visual Studio and it is a repeatable bug. It is linked to a time zone change while Visual Studio is running.

To reproduce the problem:

1.      Start Visual Studio
2.      Go in your date settings and change the time zone to Central Time
3.      Rebuild your project.
4.      The task manager should be filled with a unusual number of msbuild.exe instance.
thayduckProgrammer AnalystAuthor Commented:
thayduckProgrammer AnalystAuthor Commented:
Even though expert Imran Javed Zia  did not solve the issue, it got me pointed in the right direction.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now