Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot find System.Xaml?

Tags:

c#

.net

wpf

I have a VS2010 project that needs a reference to System.Xaml. I go to the Add Reference, search the .NET references and it's not there. :?

I double checked the GAC too, and no such luck.

I just can't figure out for the life of me why it's not on the machine. This machine has .NET 3.5 SP1 and .NET 4.0 installed.

I'd much rather there be a simple explanation for this problem and not have to resort to reinstalling the framework. T-T

Any thoughts? Much appreciated.

like image 502
Ashley Grenon Avatar asked Aug 04 '10 18:08

Ashley Grenon


1 Answers

Your project is probably targeting .Net 3.5, which does not have the required DLL.

You can set the Framework Version in Project Properties.

like image 161
SLaks Avatar answered Sep 28 '22 02:09

SLaks