Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install with nuget #3

Closed
LecksC opened this issue Mar 28, 2017 · 0 comments
Closed

Can't install with nuget #3

LecksC opened this issue Mar 28, 2017 · 0 comments
Assignees
Labels

Comments

@LecksC
Copy link

LecksC commented Mar 28, 2017

Not sure why, but Install-Package Certes is failing. It works fine if I download the source and include it. To reproduce, create a .NET Core Web Application in VS2017 and run 'Install-Package Certes' in the Package Manager Console.

Install-Package : Package Certes 1.0.4.167 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Certes 1.0.4.167 supports: net (.NETFramework,Version=v0.0)
At line:1 char:1
+ Install-Package Certes
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
 
Install-Package : One or more packages are incompatible with .NETCoreApp,Version=v1.1.
At line:1 char:1
+ Install-Package Certes
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
 
Install-Package : Package restore failed. Rolling back package changes for 'ASORSYNC2Server'.
At line:1 char:1
+ Install-Package Certes
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

CSProj (default):

<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp1.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <Folder Include="wwwroot\" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" />
    <PackageReference Include="Microsoft.AspNetCore" Version="1.1.1" />
  </ItemGroup>

</Project>
@fszlin fszlin added the bug label Mar 28, 2017
@fszlin fszlin self-assigned this Mar 28, 2017
fszlin added a commit that referenced this issue Mar 28, 2017
fszlin added a commit that referenced this issue Mar 28, 2017
fszlin added a commit that referenced this issue Mar 28, 2017
@fszlin fszlin closed this as completed in 305378b Mar 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants