title: Why can't I install a NuGet package which has target framework profile of 136?
body: <p>I am trying to install <a href="http://humanizr.net/" rel="nofollow noreferrer">Humanizer</a> (see also <a href="https://github.com/MehdiK/Humanizer" rel="nofollow noreferrer">GitHub</a> and <a href="https://www.nuget.org/packages/Humanizer" rel="nofollow noreferrer">NuGet Gallery</a> pages) using the NuGet package manager inside <strong>Visual Studio 2010</strong>.  The documentation suggests it should support .NET 4+.</p>
  
  <p>Issuing the following command on a brand new empty MVC4 project:</p>
  
  <blockquote>
    <p>PM> install-package Humanizer</p>
  </blockquote>
  
  <p>Gives me the following result:</p>
  
  <blockquote>
    <p>Successfully installed 'Humanizer 1.26.1'.<br>
    Successfully uninstalled 'Humanizer 1.26.1'.<br>
    Install failed. Rolling back...<br>
    Install-Package : Could not install package 'Humanizer 1.26.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', but the package does not contain any assembly references that are compatible with that framework. For more information, contact the package author.<br>
    At line:1 char:16<br>
    + install-package &lt;&lt;&lt;&lt;  Humanizer<br>
        + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException<br>
        + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand</p>
    
    <p>PM> </p>
  </blockquote>
  
  <p>I contacted the author directly (and subsequently raised <a href="https://github.com/MehdiK/Humanizer/issues/299" rel="nofollow noreferrer">an issue on GitHub</a>).  He mentioned that the package targets Profile136 (can also be <a href="https://github.com/MehdiK/Humanizer/blob/master/src/Humanizer/Humanizer.csproj#L14" rel="nofollow noreferrer">seen in the csproj file</a>) which should support .NET 4:</p>
  
  <pre><code>&lt;TargetFrameworkProfile&gt;Profile136&lt;/TargetFrameworkProfile&gt;
  </code></pre>
  
  <p>I had a look around and read <a href="https://stackoverflow.com/questions/20518424/building-portable-class-library-project-in-build-server-fails">this SO question</a> which discusses <em>building</em> portable class libraries.  Having read that, I discovered that Visual Studio 2010 <a href="http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981/" rel="nofollow noreferrer">requires an add-in</a> to enable building of PCLs.</p>
  
  <p>I realise I'm not building here, but I installed it anyway, along with the <a href="http://www.microsoft.com/en-us/download/details.aspx?id=40727" rel="nofollow noreferrer">updated reference assemblies v4.6</a>.</p>
  
  <p>Having looked in the following folder:</p>
  
  <p><em>C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile</em></p>
  
  <p>I discovered that I only have profiles up to 131, but no 136.</p>
  
  <p>An <a href="https://stackoverflow.com/a/20523850/483162">answer to the SO question mentioned earlier</a> suggests that 136 was added in the Windows Phone SDK 8.0.  However I can't install this on Windows 7.</p>
  
  <p><strong>Why can't I install this package in Visual Studio 2010?</strong>  Is it because I don't have profile 136 on my machine, or is that only required for <em>building</em> PCLs?</p>
  
  <p>Note that I have installed other NuGet packages successfully, e.g. log4net.</p>