title: How to target my portable class library in a Nuget-Package?
body: <p>I am trying to create a Nuget Package for another project, which has the following targets set in the project properties:</p>
  
  <ul>
  <li>.NET Framework 4.5</li>
  <li>ASP.NET Core 1.0</li>
  <li>Windows 8</li>
  <li>Windows Phone Silverlight 8</li>
  <li>Xamarin.Android</li>
  <li>Xamarin.iOS</li>
  <li>Xamarin.iOS (Classic)</li>
  </ul>
  
  <p>The project I create the package from is targeting exactly the same.</p>
  
  <p>In the Nuget Package Explorer I created a <code>lib</code> folder and in that <code>lib</code>-Folder I added another folder with <code>Add Portable Library</code> and the following settings:</p>
  
  <ul>
  <li>.NET Framework v4.5 and higher</li>
  <li>Windows Phone 8</li>
  </ul>
  
  <p><strong>The directory name after creation is:</strong> </p>
  
  <p>portable-net45+wp8 (.NETPortable,Version=v0.0,Profile=net45+wp8)</p>
  
  <p>I published the Nuget Package to my private repository and tried to import it into my project I described above, but it is giving me an error:</p>
  
  <blockquote>
    <p>Could not install package 'my.package 0.0.1-alpha1'. You are trying to
    install this package into a project that targets
    '.NETPortable,Version=v4.5,Profile=Profile78', but the package does
    not contain any assembly references or content files that are
    compatible with that framework. For more information, contact the
    package author.</p>
  </blockquote>
  
  <p>Can anyone tell me, how to set my package up correctly, so my package can be imported? What is wrong?</p>
  
  <p>Thanks in advance!</p>