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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:51:08+00:00 2026-06-13T22:51:08+00:00

I have a large C# project in Visual Studio 2008, and nearly half my

  • 0

I have a large C# project in Visual Studio 2008, and nearly half my project is underlined in red errors; most of them are "Undeclared element";. The project compiles, builds, debugs, and runs fine, no errors.

I can also type a legitimate error, and it doesn’t underline the error. For instance if I write strong.Format() instead of string.Format, it doesn’t underline strong? But, it will underline the Format, in string.Format and tell me undeclared element; it makes no sense.

Similar to question:

  • Visual Studio 2010 Improperly underlining code/comments with red error line when there is no error

But he never got an answer, and this is VS 2008 and C# instead of VS 2010 and C++

  • 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-13T22:51:09+00:00Added an answer on June 13, 2026 at 10:51 pm

    Generally you might experience this problem when you have tools like ReSharper running.

    They generally rely on cached information and dll’s present in your bin directory, if you have a complex project and it gets into a state where there are unexpected dll’s present or complex build scripts which to some magic to move dll’s around etc.

    What I would recommend, is to do a clean using VS clean solution command, and clear ReSharper or any other code analysis tools cache.

    If that doesn’t work you could go more indepth

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

Sidebar

Related Questions

So I have a Visual Studio 2008 project which has a large amount of
I have a LARGE project in visual studio 2008. It has an accumulation of
I have a large legacy C++ project compiled under Visual Studio 2008. I know
Environment: Team Foundation Server 2005 Visual Studio 2008 I have a reasonably large project
We have a large Visual Studio 2005 C++/Mfc solution, 1 project with around 1300
I have a relatively large C#/WPF Visual Studio 2008 solution that I am trying
We have a Visual Studio 2008 solution with a large number of projects in
I have a large-ish Visual Studio 2010 solution (~110 C# projects). One project (let's
We have a Visual Studio 2008 solution with 58 projects. One project targets the
I have created a large Visual C++ 10.0 project which builds nicely within the

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.