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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:08:45+00:00 2026-05-27T23:08:45+00:00

In a C# project the project properties allows one to specify a default namespace.

  • 0

In a C# project the project properties allows one to specify a default namespace. I am using C++/cli to write third party plugins for a project that uses reflection to parse the default namespace. However, I cannot find out how to specify a default namespace for a C++/cli project.

How does one specify a default namespace for a C++/cli project.

Correction
So apparently that wasn’t the issue.
Thanks for the clarification that assemblies don’t have default namespaces. I had assumed the default namespace was parsed because there was a C# project template they provided in which the default namespace had to be the same as the namespace of the plugin classes you created or the plugin would not be found. Must be something about the project template.

  • 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-27T23:08:46+00:00Added an answer on May 27, 2026 at 11:08 pm

    The setting in a C# project does very little. It doesn’t get passed to the compiler, it merely sets the namespace name that is used for any auto-generated code inserted into a source code file when you add a new file to the project. The C++ IDE uses the project name as the default namespace name. Readily changed by the programmer.

    There is no concept of “default namespace” at the assembly level. You are looking for the wrong solution.

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

Sidebar

Related Questions

VB.NET automatically prefixes the root namespace set in the project properties to the namespace
To store application settings, I am using the Settings tab in the project properties.
I'm looking for a .net OR/M that uses the Active Record pattern and allows
I'm a using a view flow component into my project, which allows the dev
So I'm trying to add some ability to my project to allow user-defined properties
The Project's Web section (under project properties in VS2008) has a list of debuggers:
In Visual Studio's Project Properties -> Signing tab, I have signed my project with
In Visual Studio 2008 project properties, Application tab, I can set the Output type
I have started a new mvc project and clicked on project\properties\web - use local
Is it possible to add a custom tab to a project properties page in

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.