开发者

what should I do about missing namespaces?

开发者 https://www.devze.com 2023-04-03 02:39 出处:网络
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?

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.


  1. Under your references folder, in the Solution Explorer click Add Reference
  2. Click the .NET tab.
  3. Find your reference.

what should I do about missing namespaces?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号