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

The Archive Base Latest Questions

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

I am using Visual Studio 2010. The C1001 error (internal compiler error) only occurs

  • 0

I am using Visual Studio 2010. The C1001 error (internal compiler error) only occurs in the release configuration. Debug compiles fine. In this case, what should I be looking at to prevent this from happening in terms of configuration differences?

I know what an internal compiler error is, the question is what is the approach that should be taken if it is only a problem with release. Modifying the code around the line mentioned (in the error message) is not helping so far, the lines just keep changing and I’m wondering also whether that can ever be a red herring? I have tried changing the optimizations already having read some of the answers here to similar questions too.

  • 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-10T14:41:19+00:00Added an answer on June 10, 2026 at 2:41 pm

    This was resolved although the ‘solution’ may appear unfulfilling. The file and line that the internal compiler error mentioned was not my code but from a lib I was using that was compiled in a separate solution and project. I did not realize that immediately. Soon after I commented that my change was having no effect above I tried to compile the lib code without optimizations and then attempted to recompile my code. That did not work either. In the end I just moved two lines of code from line x to line x + 20 (within the same block so it didn’t matter where it was) and then built the lib again and then rebuilt my work and it worked. There is no doubt that there was some config difference between release and debug and may be if I had kept pressing I could have figured out what optimization or config was at fault but I am rushed now and just needed to have this running.

    So in the end, to resolve, had something like this.

    {
    blah1
    blah2
    blah3
    blah4 //the line the compiler error mentioned
    blah5
    blah6
    blah7
    blah8 
    }
    

    changed to:

    {
    blah1
    blah2
    blah3
    blah6
    blah7
    blah8
    blah4
    blah5 
    }
    

    I guess any random change like this would have worked, this way just happened to work on the first attempt.

    There are similar resolutions already on StackOverFlow, what threw me off for a while was the debug/release difference and the fact that the code I had to change was from a different solution and project and I had to rebuild two separate solutions.

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

Sidebar

Related Questions

I am using Visual Studio 2010 with IIS 5.1 but unable to debug my
Using Visual Studio 2010 and I'm encountering an error when attempting to use the
Using Visual Studio 2010 to remote debug a C# .dll -- getting .PDB file
We are using Visual Studio 2010 connected to Team Foundation Server 2010 and we
I am using Visual Studio 2010 to create a setup project for my .NET
We have developers using Visual Studio 2010 professional and some trying out Visual Studio
I am using Visual Studio 2010 SP1 Ultimate on a c# class library project
I am using Visual Studio 2010 RC1. I define a resource Brush2 in app.xaml_:
I'm using Visual Studio 2010 RC. Would it be possible that after doing my
I am using Visual Studio 2010 Ultimate Beta 2. What is the relevant namespace/classes

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.