DCSIMG
Visual Studio 2010 - The type or namespace name 'MyClassLibrary' could not be found - Adlai Maschiach

Adlai Maschiach

" You have to show in order to be seen "

News

Favorite Links

news

CardSpace

Books

Other InfoCards Proj

Virtual Earth

WSS / Sharepoint

SOA , Biztalk & ESB

CLR / .NET

Visual Studio 2010 - The type or namespace name 'MyClassLibrary' could not be found

Visual Studio 2010 - The type or namespace name 'MyClassLibrary' could not be found

I have run across this message in the Beta Edition of Visual Studio 2010 , and I dismissed it as a Beta feature . But now with the release version , for me , that message was a bit out of place .

It seems that the solution , as far as I’m concern , is very simple , change the Target to “.NET Framework 4” and everything is going back to normal.

VS2010 

If you’ll look closely , you’d notice that the default is set to “.NET Framework 4 Client Profile”

The .NET Framework 4 Client Profile is a subset of the .NET Framework 4 that is optimized for client applications. It provides functionality for most client applications, including Windows Presentation Foundation (WPF), Windows Forms, Windows Communication Foundation (WCF), and ClickOnce features. This enables faster deployment and a smaller install package for applications that target the .NET Framework 4 Client Profile.

If you are targeting the .NET Framework 4 Client Profile, you cannot reference an assembly that is not in the .NET Framework 4 Client Profile. Instead you must target the .NET Framework 4. For more information, see Troubleshooting .NET Framework Targeting Errors.

Comments

Jon Upchurch said:

Thanks for the tip, this was driving me nuts!

# September 17, 2010 7:09 PM

roy z said:

Thanks,

Seems like it solved my problem :)

# November 21, 2010 3:59 PM

Chris said:

THANK YOU!!!

# March 23, 2011 1:48 AM

Jonathan Yong said:

Thank you so much! My head was about to explode with much confusion and frustration!

# April 5, 2011 1:08 PM

Nhi said:

you're the man!

# June 27, 2011 3:36 PM

Sergio Salazar said:

Thank you, gracias, from monterrey!!

# September 11, 2011 4:44 AM

Learner said:

Awesome man,thanks :)

# September 13, 2011 3:27 PM

Mia said:

thanks dude, you saved my life, i was going to kill myself, you're the best

# February 24, 2012 6:03 PM

Darshil said:

But where is the main menu? what's the title of main menu to perform this task

# March 6, 2012 10:07 AM

Kokare Rajendra said:

I Very Like This Solution

# May 26, 2012 1:53 PM

venkat said:

how can change namespace in the middle of development( do not want go each place and replace new name).

# June 1, 2012 2:26 PM

Sorrell said:

Marvelous, what a blog it is! This weblog presents valuable facts to us, keep it up.

# August 26, 2012 1:42 PM

Molina said:

Hey There. I discovered your blog the use of msn.

This is a very smartly written article. I'll make sure to bookmark it and come back to read more of your helpful info. Thanks for the post. I will certainly comeback.

# September 24, 2012 9:44 AM

Jeffery said:

In essence its a great summer type blockbuster with huge special effects,

great action, aliens, and actually non stop thrills throughout.

# October 1, 2012 10:04 PM

Mcfadden said:

I can’t actually help but admire your blog, your blog is

so adorable and nice ,

# October 1, 2012 10:09 PM

Juarez said:

It's remarkable in support of me to have a website, which is helpful in support of my experience. thanks admin

# October 6, 2012 4:29 AM

Kauffman said:

Having read this I thought it was rather informative.

I appreciate you taking the time and energy to put this content together.

I once again find myself spending way too much time both reading and commenting.

But so what, it was still worth it!

# October 7, 2012 1:08 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: