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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:50:03+00:00 2026-05-16T08:50:03+00:00

I have some strange problem. I have a solution with the following structure http://i33.tinypic.com/10fbzbq.jpg

  • 0

I have some strange problem. I have a solution with the following structure

http://i33.tinypic.com/10fbzbq.jpg

As you can see when i wonna import the VDB.Common.RequestAndResponses it gives an error.
The namespace of dat Class Library is VDB.Common.RequestAndResponses.

I am new in c# , so it could be that i forgot something stupid.

  • 1 1 Answer
  • 1 View
  • 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-16T08:50:03+00:00Added an answer on May 16, 2026 at 8:50 am

    I strongly suspect that Base.cs (the only C# file shown in the VDB.Common.RequestAndResponses project) doesn’t actually declare a type in the VDB.Common.RequestAndResponses namespace – or that it only declares an internal (rather than public) type.

    For example, note that the code you’re creating is under the VDB.Client.Infrastructure project, but is only declaring a class in the Agatha namespace – not VDB.Client.Infrastructure.Agatha, which may be what you were intending. Do you have the same kind of thing in Base.cs, perhaps?

    Without seeing the code in Base.cs, we can’t see what’s wrong though. If you could just post a snippet of that – just the namespace and class declaration – that would be helpful.

    Note that although a class library has a default namespace, this isn’t prepended to whatever the source file actually declares. In other words, in a library of Acme.Widgets, if you had a declaration of:

    namespace Web
    {
        public class Button {}
    }
    

    that would only declare the type Web.Button, not Acme.Widgets.Web.Button.

    EDIT: The OP’s “answer” confirms what I thought… basically it’s not declaring a namespace at all. It should look like this:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Agatha.Common;
    
    namespace VDB.Common.RequestAndResponses
    {
        public abstract class BaseRequest :Request
        {
            // Code
        }
    
        public abstract class BaseResponse : Response
        {
            // Code
        }
    }
    

    I would also strongly advise that these classes should be put in two separate files, BaseRequest.cs and BaseResponse.cs. I’m also pretty surprised to see a reference to Agatha.Common – shouldn’t that be VDB.Common.Agatha or something like that?

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

Sidebar

Related Questions

I have some strange restrictions on the following problem. (My friends aren't very good
I have strange problem for which I can't think of a solution. I have
I have some strange linking problem in my Visual Studio 2005 C++ project. As
I have a strange problem with some documents on my webpage. My data is
I have a strange problem with opengl es(Android) .Some textures doesn't drawing correct ,its
I have a strange problem which probably has a very simple solution, I just
Have problem with this code var MAIN_LOCATION = http://www.bosscaffe.com/new/; $(#gallery_page).click(function() { $('#gallery_photos').show(); getPhotos(); return
So I have run into a bit of a strange problem and can not
I am having some strange problem. I have written a small module in VC++
I have some strange scrolling problems with my PhoneGap (using jQuery Mobile) app: I'm

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.