Wednesday, July 23, 2014

Why can't I reference a .dll in a C# console app in Visual Studio?

This suggests the fix is:

  1. right-clicking on the console project in the Solution Explorer and picking properties
  2. look at "Target Framework" at the "Application" tab within the properties
  3. look for where it says ".NET Framework 4.0 Client Profile" and change that to ".NET Framework 4.0" or ".NET Framework 4.5.1" instead

 
 

The ".NET Framework 4.0 Client Profile" setting will most likely rear its ugly head by default in Visual Studio 2010 methinks.

No comments:

Post a Comment