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

Nuget dependency version conflicts with Microsoft.Azure.Functions.Worker.Sdk #2

Open
rebecca-work opened this issue Nov 18, 2022 · 0 comments

Comments

@rebecca-work
Copy link

Package looks useful. I'm having some Nuget depedency issues though. You have specified an exact package reference dependency, thus:

<ItemGroup>
    <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.8.0" />
    <PackageReference Include="Microsoft.CodeAnalysis.Features" Version="3.8.0" />
</ItemGroup>

This is clashing with Microsoft.Azure.Functions.Worker.Sdk that uses version 3.11.0.

I don't think these need to be exposed in the package. Would the following be more appropriate?

<ItemGroup>
    <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.8.0" PrivateAssets="all" />
    <PackageReference Include="Microsoft.CodeAnalysis.Features" Version="3.8.0" PrivateAssets="all" />
</ItemGroup>

Otherwise, making the targeting less specific:

<ItemGroup>
    <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="(3.8.0,)" />
    <PackageReference Include="Microsoft.CodeAnalysis.Features" Version="(3.8.0,)" />
</ItemGroup>

Current version (as of today) is 4.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant