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
thayduckProgrammer AnalystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Applications

From novice to tech pro — start learning today.