While performing a dotnet restore
on a .NET Core project (targeting .netcoreapp2.0.), I get the following warning:
warning NU1604: Project dependency System.Net.NameResolution does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
Here is the relevant line from the project file:
<PackageReference Include="System.Net.NameResolution" Verison="4.3.0" />
(If you are wondering, I have included that reference to avoid a warning NU1605: Detected package downgrade.)
How does one "include a lower bound in the dependency version to ensure consistent restore results"?