I load up a Visual Studio 2017 and create an empty ASP.NET Core console application. I go to manage nuget packages and "Install-Package Microsoft.Azure.Search" and get the following error:
Install-Package : One or more packages are incompatible with .NETCoreApp,Version=v1.0. At line:1 char:1 + Install-Package Microsoft.Azure.Search + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Package restore failed. Rolling back package changes for 'vs2017search'. At line:1 char:1 + Install-Package Microsoft.Azure.Search + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
No matter if I try this from .NET Core 1.1 or a NETStandard1.4, 1.5 or 1.6 project I get a similar error.
Adding this package in VS2015 works fine. Interestingly if I create a ASP.NET Core Console application in VS2015, add the nuget package, upgrade to .NET Core 1.1 and then open it up in VS2017 and do a one way convert it seems to work.
Anyone else experiencing the same or similar and have a solution?