Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8844107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:24:10+00:00 2026-06-14T11:24:10+00:00

Afternoon all, I have a very strange problem. When VS 2012 is open, compile

  • 0

Afternoon all,

I have a very strange problem. When VS 2012 is open, compile times are very slow. This slow compile time is present when building via VS and/or directly via csc.exe from the command line.

To test: Create a folder with the following items:

A batch file (compile.bat) containing:

echo %time%
csc /target:library class1.cs
echo %time%

and a class1.cs containing:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibrary1
{
    public class Class1
    {
    }
}

Now open a visual studio command prompt. Navigate to the above folder and run the batch command, without VS open. On my machine, this takes approximately 10ms, perfect.

I now open VS 2012, open no solution, do nothing other than open the the application so that devenv is running.

Now repeat the test by running the batch file, compile time is now 10000ms (10 seconds).

I have checked the event viewer for anything that is happening when VS is open but not when it’s closed, used procmon and filemon to look for file access and checked to see if VS is enabling any services when it is open, all without success/impact.

I have even tried uninstalling and reinstalling VS, this solved the problem for the first few builds but it then reoccurred. Restarting the machine has no effect. I have no plugins installed in VS.

My colleagues machines do not display this problem and they have the same setup. This is all running on a machine with 16gb ram, 64-bit win 7 and SSD.

Anyone got any clues?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T11:24:12+00:00Added an answer on June 14, 2026 at 11:24 am

    I’ve figured this out. I believe it was the result of some malware. I diagnosed the problem with the following steps.

    1. Download ProcMon (http://technet.microsoft.com/en-gb/sysinternals/bb896645.aspx)
    2. Add a filter to ProcMon on process name: csc.exe
    3. I then ran a compile from the command line, with visual studio open. It took around 10 seconds, way too long! Looking at the output in the ProcMon window, I noticed what appeared to be csc.exe pausing for 5 secs, once towards the beginning of the trace, and once towards the end. See the following screens:

    Start:

    Start

    End:

    End

    It appeared that a RegCloseKey to HKLM\SOFTWARE\Wow6432Node\5c28f8fbc6fe942 was causing csc.exe to wait for 5 seconds, twice.

    RegKey:

    RegKey

    I then decided to rename this entry (added _old to the end), I then recompiled….BINGO, it compiled in less than 30ms!

    After studying the entries contained in this key and some googleing it turned out that this reg key was the result of some malware. I used the following guide to remove thte malware and now the problem is completely solved.

    http://www.explosiveknowledge.net/main/2012/08/19/browsemngr/

    Please be aware that the guide above doesn’t contain the correct reg entries, I think the virus must have been tweaked at somepoint, I couldn’t find the reg entries mentioned in the guide but simply deleted the ones I’d found.

    Please note that the 5c28f8fbc6fe942 part of the reg key seems to be randomly generated. If you have this problem is might be different but the values contain within will still talk about “Browser Manager”.

    Hope this helps someone!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Very good afternoon to all, The problem I have now is that I can
I have been trying all afternoon to try and achieve this with no success.
This seems to have happened at some point this afternoon. First of all, my
Afternoon all, I have this query and was wondering how i could convert this
Good afternoon all, I have a class which looks like this: public class Grapheme
I have been trying to figure this out all afternoon with no luck. On
I have been trying to figure this out all afternoon, but have given up
Afternoon all. A very simple one for you today from thicky Rich. I have
I have been stuck on this all afternoon, and even tried the following search:
I have been looking for an answer to this all afternoon and i cant

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.