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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:12:53+00:00 2026-05-24T19:12:53+00:00

I needed to make a console application using nettiers class libraries. I created a

  • 0

I needed to make a console application using nettiers class libraries. I created a new Console Application project, added references to all the libraries from NetTiers and created an app.config file with all the necessary configurations. I get intellisense and no errors and everything when I am doing the coding, but when I go to compile the application, I’m getting an error that PPGEDI.Data doesn’t exist.

I only have 1 line in the program.cs Main method:

PPGEDI.Entities.VansEntity van 
  = DataRepository.VansEntityProvider.GetById(16);

I’m getting the following error:

Error   93  
   The type or namespace name 'Data' 
   does not exist in the namespace 'PPGEDI' 
   (are you missing an assembly reference?) 

It’s frustrating, because I know I’ve added the assembly reference:

enter image description here

I’m using Visual Studio 2010, with C# and .NET 4.0. Can anyone give me an idea as to what I need to do to get this to work.

As a note, this works if I use the same statement in a method on an ASPX page in the web application generated by nettiers.

  • 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-24T19:12:53+00:00Added an answer on May 24, 2026 at 7:12 pm

    @BrokenGlass, you were absolutely correct. I double checked and it was
    set to “.NET Framework Client Profile”, I changed it to .NET 4 and
    it’s working now, can you put that as an answer?

    You are using the .NET client profile in your console app which is a “minified” version that doesn’t contain all assemblies.

    The problem is that when your app adds a reference to a class library that is targeting the full framework, references to the “full” framework assembly will not resolve. This results in the rather non-forthcoming error message that you see. Switching to the the full .NET 4 as target framework will resolve the issue.

    For a more in depth overview of the problem and the .NET 4 Client Profile in general also see “What’s new in .NET Framework 4 Client Profile RTM”

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

Sidebar

Related Questions

What's needed to succesfully make a crossdomain call from Silverlight?
I'm running a .NET remoting application built using .NET 2.0. It is a console
I’ve build a console application that has a command interpreter. To make things easier
Project Description: I have to make an application in android which gets the Latitude
We needed to monitor all processes Registry calls/File Sytem calls/Process creations in the system
I needed to find all the files that contained a specific string pattern. The
I needed an algorithm to generate all possible partitions of a positive number, and
I am using VB.NET, 3.5 Framework. I created a WCF Service running as a
I have just added a provisioning profile to XCode (needed to support notifications and
After every new program written a lot of paper documentation remains. Apart from 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.