Cannot find type System.Runtime.CompilerServices.TypeForwardedFromAttribute

Just downloaded Microsoft Visual C# 2010.

When I try to add a WPF Control (.xaml) to a windows form, I get the following error.

Cannot find type System.Runtime.CompilerServices.TypeForwardedFromAttribute in module CommonLanguageRuntimeLibrary.

The only way to fix it is to find the wpf object entries in the designer form and get rid of it.

Doesnt matter which wpf control it is, can be any.

Does anyone know a fix for this?  Thank you!
recruititAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Miguel OzSoftware EngineerCommented:
This problem was solved after beta 2. Please check your VS2010 build. If not they have reintroduced this bug again.

Check:
https://connect.microsoft.com/VisualStudio/feedback/details/525281/vs-2010-wpf-host-on-winforms?wa=wsignin1.0
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
masterpassCommented:
I think you have a installation problem.  If you previously had beta 1 installed on the same machine then I think you will have this error coming up ... You wil have to properly un-install the beta 1 and then try again ... I think the read me file is having all the information for proper un-installation
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.