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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:55:29+00:00 2026-05-14T14:55:29+00:00

OK. I was going a little crazy today with a WPF project. I’m using

  • 0

OK. I was going a little crazy today with a WPF project. I’m using VS2010 with .NET 4.0 and I added a simple reference to another project in my solution, added a member variable of one of the referenced types and tried to compile. Nothing. Well, something. It did not recognize the type at all.

I verified at the namespace using statement. Intellisense seemed to like it. In fact, Visual Studio is perfectly content to let me browse into the class via the Go To Definition function.

Some of you reading this already know what this is, but I thought I was going crazy.

The WPF project defaults to the Client Profile, while the other projects are targeting the full .NET 4.0. I had the warnings turned off (stupid), so I wasn’t seeing the warning message about the client profile mismatch.

Does anyone else think it’s stupid to have WPF projects default to Client Profile targeting, while the rest of the projects default to targeting the full .NET 4.0?

…Which leads me to my question. Is it possible to change this default, so this scenario doesn’t happen again? I would like to always target one platform or the other.

  • 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-14T14:55:29+00:00Added an answer on May 14, 2026 at 2:55 pm

    Many project types in VS2010 target the client profile. MS is making a bigger push this time around to get the 4.0 client profile to take hold (the 3.5 client profile was largely ignored).

    For what it’s worth, what profile a project type targets by default is defined in its template, and easy to change if you desire ([VS Root]\Common7\IDE\ProjectTemplates and alter the TargetFrameworkProfile element inside the csproj files inside the templates as you see fit). I don’t recommend this though.

    Generally speaking, as inelegant as it may be, I think we just have to get used to the idea that the client profile is more prominent now and be more aware of it as we work with VS2010

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

Sidebar

Related Questions

Going a little crazy here. I am doing a very simple lookup of a
Going a little insane here. Here is the jsfiddle: http://jsfiddle.net/mersenneprimes/CvGKK/ Note business is in
I think I'm going a little crazy. Right now, I'm working with the following
Im going a little crazy with this. In my app, i take a string
I'm going crazy with this my little app... Please help me!!! this is the
need a little help. My jQuery was going smooth today until I hit a
I'm going a little nuts trying to understand the doc on impersonation and delegation
I'm going a little nuts trying to figure out how to use template inheritance
I'm going a little mad I think. This is the VERY first thing I
I'm going to build a little system for personal use, and I want it

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.