ElectronNET.CLI does not contain an inclusive lower bound
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
Hi Andrea, did you type the "dotnet restore" command after you edited the .csproj file? When and where did you get the error message?
I create new project in another machine.
After execute:
dotnet electronize start
There is an error:

After that I clear .\obj folder but without success.
This example work very well.
Do you use first the dotnet electronize init command?
Yep
Can you share your project?
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>
I will update the documentation - thanks for sharing!