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

  • SEARCH
  • Home
  • 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 3222596
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:00:33+00:00 2026-05-17T16:00:33+00:00

I have VS 2008 Professional and a Smart Device .NET C# project. I have

  • 0

I have VS 2008 Professional and a Smart Device .NET C# project. I have ~100 cs files in total. The build takes a very long time, I have to wait for linker approx. 1min (60s) every time I compile the project. I have Core i3, 4GB RAM, 7200rpm disk.

What causes this and how can I optimize the build? Any Visual Studio options?

  • 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-05-17T16:00:34+00:00Added an answer on May 17, 2026 at 4:00 pm

    If you follow the advise from Hans Passant’s comment and set MSBuild to diagnostic output it will give a clearer picture of just what is taking the time. If you find that your build is hanging on the Licensing Compiler (LC.exe) then this could be due to it trying to call a server and timing out. You can resolve this by altering your machine.config –

    edit c:\windows\microsoft.net\framework\v2.0.50727\config\machine.config, and add the following key:

      <configuration>
        <runtime>
          <generatePublisherEvidence enabled="false"/>
    

    EDIT://

    Based on the comment below I did a little digging. The platform verification task has a known issue where it runs very slowly in VS2008. More detail on it can be found here:

    http://blogs.msdn.com/b/vsdteam/archive/2006/09/15/756400.aspx

    One way around this is to disable the task itself in your build. To do this

    1) Open the file:

    %windir%\Microsoft.NET\Framework\v2.0.50727\Microsoft.CompactFramework.Common.Targets
    

    for editing.

    2) Go to the line which reads:

    Name="PlatformVerificationTask">
    

    and change it to:

    Name="PlatformVerificationTask" Condition="'$(SkipPlatformVerification)' != 'true'">
    

    3) Add the SkipPlatformVerification environment variable to the system and set it to “true” (To re-enable Platform Verification set the environment variable to “false”). If you need help on setting up an environment variable read http://vlaurie.com/computers2/Articles/environment.htm. If you don’t want to add an environment variable you can swap the condition for something that is always false (i.e. Condition=”‘true’ == ‘false'”)

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

Sidebar

Related Questions

We have TFS 2008 our build set up to checkout all AssemblyInfo.cs files in
I have Visual Studio 2008 Professional and I am having issues with expanding and
IDE: Microsoft Visual Studio Professional 2008 Language: C# Background: I have one form and
I have a C# (2008/.NET 3.5) class library assembly that supports WPF (based on
I have a VS 2008 project under TortoiseSVN source control. I am the only
I have just installed the Platform SDK for Windows Server 2008 and .NET 3.5
I have VS 2008 Professional, with English set as the current language. Is it
I have Visual C# 2008 Professional and have developed the first half of a
I am developing a DLL using C# .NET 2.0 and Visual Studio 2008 Professional.
I have installed VS 2010 Professional on a machine that already had 2008 Professional.

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.