title: The type or namespace name 'DescriptionAttribute' could not be found Asp.Net 5
body: <p>I have a simple class like this </p>
  
  <pre><code>using System;
  using System.ComponentModel;
  using System.Reflection;
  
  namespace Common
  {
      public static class ExtensionMethods
      {
          public static string Description(this Enum value)
          {
              FieldInfo fi = value.GetType().GetField(value.ToString());
  
              DescriptionAttribute[] attributes =
                  (DescriptionAttribute[])fi.GetCustomAttributes(
                  typeof(DescriptionAttribute),
                  false);
  
              if (attributes.Length &gt; 0)
              {
                  return attributes[0].Description;
              }
  
              return value.ToString();
          }
      }
  }
  </code></pre>
  
  <p>But I'm getting this compile error - </p>
  
  <blockquote>
    <p>Error CS0246  The type or namespace name 'DescriptionAttribute' could
    not be found (are you missing a using directive or an assembly
    reference?)</p>
  </blockquote>
  
  <p>My project.json is </p>
  
  <pre><code>{
    "version": "1.0.0-*",
    "description": "Common Class Library",
    "authors": [ "bryan" ],
    "tags": [ "" ],
    "projectUrl": "",
    "licenseUrl": "",
  
    "frameworks": {
      "net451": { },
      "dotnet5.4": {
        "dependencies": {
          "Microsoft.CSharp": "4.0.1-beta-23516",
          "System.Collections": "4.0.11-beta-23516",
          "System.Linq": "4.0.1-beta-23516",
          "System.Runtime": "4.0.21-beta-23516",
          "System.Threading": "4.0.11-beta-23516"
        }
      }
    }
  }
  </code></pre>
  
  <p>I have tried many things like adding dependencies and frameworkAssemblies for  various versions of System.Component and System but not have worked. </p>