• 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.
VSerrors
0
thayduck
Asked:
thayduck
  • 3
2 Solutions
 
Imran Javed ZiaConsultant Software Engineer - .NET ArchitectCommented:
Hi,

Please set your following environment variable to 1
MSBUILDDISABLENODEREUSE=1

to see the process to set variable please go through following:
https://msdn.microsoft.com/en-us/library/vstudio/1700bbwd(v=vs.110).aspx
https://msdn.microsoft.com/en-us/library/ee479070(v=winembedded.60).aspx

Thanks
0
 
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.
0
 
thayduckProgrammer AnalystAuthor Commented:
Thanks...
0
 
thayduckProgrammer AnalystAuthor Commented:
Even though expert Imran Javed Zia  did not solve the issue, it got me pointed in the right direction.
0
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