title: NuGet package restore fails for Azure Function project using Visual Studio 2017
body: <p>I'm trying to build an Azure Function project. But after I create it from VS 2017 (File -> New project, without making any other changes) it fails to restore NuGet packages. Errors I'm getting</p>
  
  <p><em>Package Microsoft.Tpl.Dataflow 4.5.24 does not support any target frameworks.</em></p>
  
  <p><em>Package Microsoft.Azure.KeyVault.Core 1.0.0 does not support any target frameworks.</em></p>
  
  <p>I'm using</p>
  
  <ul>
  <li>Visual Studio 2017 Community v15.5.7. Workloads installed: 
  
  <ul>
  <li>ASP.NET and web development</li>
  <li>Azure development</li>
  <li>.NET Core cross-platform development</li>
  </ul></li>
  <li>Azure Functions and Web Tools Extension v15.0.40108.0 (have tried also with the version shipped with VS)</li>
  </ul>
  
  <p>Have tried on two other PCs with the same workloads installed and it works.</p>
  
  <p>Have uninstalled/reinstalled VS 2017 and .NET framework but no luck.</p>
  
  <p>Any help appreciated.</p>