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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:54:55+00:00 2026-05-18T09:54:55+00:00

Steps to reproduce: Create a new C# console project. Write some code: class Foo

  • 0

Steps to reproduce:

  1. Create a new C# console project.
  2. Write some code:

    class Foo { }
    class Bar
    {
        Foo x;
    }
    
  3. Observe that in Foo x; the class name is highlighted. Intellisense will work for classes in this assembly.
  4. Edit the .csproj file to include “**\*.cs” instead of “Program.cs”, to include all .cs files in the project directory and its subdirectories.
  5. Reload the project when prompted.
  6. Observe that the C# file is still loaded and part of the project, but that Intellisense and syntax highlighting no longer recognise any types declared in this assembly or in 3rd party assemblies that are not installed in the GAC.

Why does this happen? I would like to use wildcards to make it easier to add new files outside of the Visual Studio IDE.

  • 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-18T09:54:56+00:00Added an answer on May 18, 2026 at 9:54 am

    I still don’t know why this happens, but I did find out how to fix it: replace **\*.cs with .\**\*.cs and as if by magic, it all works. Hope that helps somebody else!

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

Sidebar

Related Questions

Rep steps: create example .NET form application put a TextBox on the form wire
What are some good steps to follow for a smooth migration from PHP4 to
What steps I need to perform in order to convert asp.net 2 application from
What steps do I take? Any gotchas to be aware of or tips to
What steps do I have to take to configure my sendmail server to implement
What are the basic steps to compile an OpenGL application using GLUT (OpenGL Utility
What are the steps to estimating using function points? Is there a quick-reference guide
What are the steps and techniques to debug an apparent hang due to a
Ok I followed the steps for setting up ruby and rails on my Vista
What are the steps needed to successfully be able to remotely debug a stored

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.