Skip to content

Unable to install Microsoft.CSharp version 4.5.0 #1006

Open
@benjavalero

Description

@benjavalero

The OpenApi generation fails at the moment of installing the necessary dependencies, in particular when trying to install the package Microsoft.CSharp:

Unable to install Microsoft.CSharp version 4.5.0

This happens because my project already contains a dependency which depends on a higher version. In particular:

<PackageReference Include="AutoMapper" Version="10.1.1" />

depends on:

<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />

I wonder if it would be possible not trying to install a package if it already exists with a higher version.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions