question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ElectronNET.CLI does not contain an inclusive lower bound

See original GitHub issue

This is my .csproj:

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

  <PropertyGroup>
    <TargetFramework>netcoreapp2.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="ElectronNET.API" Version="0.0.7" />
    <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.3" />
  </ItemGroup>

  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.1" />
  </ItemGroup>

  <ItemGroup>
    <DotNetCliToolReference Include="ElectronNET.CLI" Version="*" />
  </ItemGroup>

</Project>

My error:

NU1604: Project dependency ElectronNET.CLI does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.

What dependency do I have to upgrade? I do not understand

I follow readme installation guide and I got stuck when I added this piece of code to .csproj

<ItemGroup>
         <DotNetCliToolReference Include="ElectronNET.CLI" Version="*" />
</ItemGroup>

Thanks Andrea

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mbuchokcommented, Jan 27, 2018

I had this same problem and found that explicitly setting my version to the electronnet.cli package fixed it

Try changing: <ItemGroup> <DotNetCliToolReference Include="ElectronNET.CLI" Version="*" /> </ItemGroup>

to this: <ItemGroup> <DotNetCliToolReference Include="ElectronNET.CLI" Version="0.0.7 (or whatever version)"/> </ItemGroup>

0reactions
robertmuehsigcommented, Feb 19, 2018

I will update the documentation - thanks for sharing!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to correct dotnet restore warning NU1604, does not ...
NameResolution does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore ...
Read more >
NuGet Warning NU1604
A project dependency doesn't define a lower bound. This means that restore did not find the best match. Each restore will float downwards ......
Read more >
ManagePackageVersionsCentrally works in VS but not ...
csproj : warning NU1604: Project dependency NLog does not contain an inclusive lower bound. Include a lower bound in the dependency version to ......
Read more >
Project dependency Microsoft.NETCore.App does not ...
NETCore.App does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
Read more >
How to correct dotnet restore warning NU1604, does not ...
Net.NameResolution does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found