what should I do about missing namespaces?
While using Visual Studio C# Express 2010, I've noticed a small problem; namespaces such as System.Windows and System.Drawing are missing, so where could I find them, or can I download them online?
P.S: I've opened the System reference and really got worried as I开发者_运维技巧 didn't find those references.
The two assemblies you mentioned are available only for Windows applications. If you are creating a console application such assemblies are not even shown in the Add References.
- Under your references folder, in the Solution Explorer click
Add Reference
- Click the .NET tab.
- Find your reference.
When you open up your Add Reference dialog you should have a .NET tab. In there you should find the references you require.
System.Windows may not be there but its members should be.
精彩评论