I created a new file-system based web site in Visual Studio 2010. On property pages I’ve set to use .NET 4.0, but I cannot find System.Windows in the Add Reference dialog. The only copy on my PC seems to be in this directory, but this is not a Silverlight project
C:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0
I thought it might have something to do with the client profile vs full version, but I can’t see where to specify that in a web site project.
What am I doing wrong?
Not all namespaces have corresponding DLL file names used in the Add Reference dialog. System.Windows is one of these.
For example,
System.Windows.Clipboardis resident in the PresentationCore.dll, butSystem.Windows.SizeConverteris in WindowsBase.dll. It all depends on the actual types you need to access.