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 8451619
In Process

The Archive Base Latest Questions

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

My Visual Studio 2010 always slows down or crashes when working with a specific

  • 0

My Visual Studio 2010 always slows down or crashes when working with a specific solution. And by slow, I mean SLOW! For example, I can type in 4-5 characters per minute. And usually the UI freezes, and sometime ultimately crashes down. So, basically I can’t work with the solution. I tried these solutions with no effect:

  1. Disabling and uninstalling all extentions.
  2. Removing .suo, bin, and debug folders
  3. Disabling IntelliSense, text editor options,…
  4. Rebooting the system
  5. Trying it on different computers with same versions of VS and Windows (7).

Any idea on how to fix it?

  • 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-10T11:17:23+00:00Added an answer on June 10, 2026 at 11:17 am

    So, after hours of trying out everything, I figured out that the crash happens when working on a specific file. Particularly, the issue was with this line of code:

    d = sd.Categories.Max(cat => cat.Subcategories.Max(d => d.Data.Where(a => a.CountryName != "World" && a.CountryName!="Asia Pacific").Max(a =>  a.AnnualData.Max(ad => ad.Value)));
    

    Apparently, since the line uses many lambda expressions, the VS parser cannot handle it efficiently, though it is a syntactically and semantically correct expression, and it’s compiled and executed correctly.

    Solution: Remove or comment the line, and use a set of shorter expressions to perform the same functionality. I just used some nested foreachs to replace the expression.

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

Sidebar

Related Questions

I am working in Visual Studio 2010, and I can go through and write
Visual Studio 2010 now opens XSD files in design mode by default. I can't
I use CMake to generate a Visual Studio 2010 project and solution file. Actually
Using Beta 2 of Visual Studio 2010. I'm using C# and have always enabled
Is there any way I can force Visual Studio (2010) to save all files
When creating a new web project in Visual Studio 2010 I always forget to
Working with Visual Studio 2010 SP1 (beta?) I'm using Razor cshtml files however I
I have a long-time-to-build (setup) project in a Visual Studio 2010 Solution. It is
I've just come across the weirdest behavior in Visual Studio 2010 while working with
Background I am working on a trading ActiveX API in visual studio 2010 on

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.