Matt Harris
Matt Harris

Reputation: 3544

Trying to add reference to project in Visual Studio 2012, "no items found"

I'm trying to add a reference to System.dll and System.drawing.dll to my project in Visual Studio 2012. I'm doing this by right clicking the project, clicking "references", and then clicking "Add new reference".

It seems like the following screen should have a lot of options, but for me it simply says "No Items Found". In the screen it says my targeted framework is .NETFramework, Version=v4.0.

Is there anything else I need to be doing in order to make the options show up?

Upvotes: 5

Views: 8189

Answers (1)

Jochen Kalmbach
Jochen Kalmbach

Reputation: 3684

You need to enable CLR support in your application. You can do that in the properties of your project: Properties|General||Common Language Runtime Support: Common Language Runtime Support (/clr)

Upvotes: 4

Related Questions