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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:26:38+00:00 2026-05-24T11:26:38+00:00

I would use the System.Linq.Dynamic . I added the specified Dynamic.vb file, that starts

  • 0

I would use the System.Linq.Dynamic.

I added the specified Dynamic.vb file, that starts like this :

Option Strict On
Option Explicit On

Imports System.Collections.Generic
Imports System.Text
Imports System.Linq
Imports System.Linq.Expressions
Imports System.Reflection
Imports System.Reflection.Emit
Imports System.Threading
Imports System.Runtime.CompilerServices

Namespace System.Linq.Dynamic
  Public Module DynamicQueryable

to my (VB.NET)solution.

Now Visual Studio does not recognize anymore in the project files the System.XXX references, proposing me to change them to Global.System.XXX
enter image description here

Was is Das, and how to manage 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-05-24T11:26:38+00:00Added an answer on May 24, 2026 at 11:26 am

    It looks as though some namespace hiding is taking place. In VB.NET projects a root namespace exists that is set to your project’s name by default. You can check this from Project -> Properties -> Application -> Root namespace.

    When a class explicitly specifies a namespace, the root namespace is prefixed to it. For example, let’s say your root namespace is RootNs. Since the DynamicLinq.vb file specifies a namespace of System.Linq.Dynamic this is really RootNs.System.Linq.Dynamic. This hides the regular .NET System namespace, which is why Visual Studio prompts you to prefix all your namespaces with Global.

    It’s worth noting that in C# this concept is different, so I wouldn’t expect this issue to come up when someone uses the C# version of DynamicLinq.

    To fix this you have a few options (pick one):

    1. Remove the namespace declaration from DynamicLinq.vb and remove any full qualifications from objects within that file that use System.Linq.Dynamic. In other words, System.Linq.Dynamic.Signature becomes Signature. To use it elsewhere, add Imports System.Linq.Dynamic.

    2. Remove the root namespace from Project/Properties/Application by making it blank. By doing so your project will be more like C# and you ought to explicitly specify namespaces in all your classes. To use it elsewhere, add Imports System.Linq.Dynamic.

    3. Keep the root namespace and just change the namespace of DynamicLinq.vb. For example, change it to NewNs.Linq.Dynamic and remove full qualifications from Signature as before. To use it elsewhere, add Imports RootNs.NewNs.Linq.Dynamic (notice the RootNs prefix).

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

Sidebar

Related Questions

I would like to create/use a system-wide independent universal 'counter object' that can be
I would like to use enumerations in my dynamic LINQ queries. Is it possible,
I'm learning how to use System.Configuration in .NET and would like to know if
I would like to use python to make system calls to programs and time
I have a system.collections.generic.list(of ListBox) I would like to use the collection classes built-in
In .NET I would use System.Diagnostics.Trace... What would I use in C or C++
I'm trying to figure out why I would use a grid system. I have
What serial communication bus would you use in a automotive embedded system if your
I have been trying to use dynamic LINQ to Entity in my application for
I would like to sort my list with the date property. This is my

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.