QueuePollInterval get exception when set to TimaSpan.Zero

By below configuration option
.UseSqlServerStorage(connstring, new Hangfire.SqlServer.SqlServerStorageOptions()
{
SchemaName = “MNS”,
//CommandBatchMaxTimeout = TimeSpan.FromMinutes(5),
SlidingInvisibilityTimeout = TimeSpan.FromMinutes(5),
QueuePollInterval = TimeSpan.Zero,
//UseRecommendedIsolationLevel = true,
//UsePageLocksOnDequeue = true,
//DisableGlobalLocks = true,
}).UseConsole();

I will get the below exception :
System.ArgumentException: The QueuePollInterval property value should be positive. Given: 00:00:00.
Parameter name: value
at Hangfire.SqlServer.SqlServerStorageOptions.set_QueuePollInterval(TimeSpan value)

Any chance you are still using version 1.6.X? Zero-based queue poll intervals are supported only since version 1.7.

No,
I double checked the version, the version is 1.7.0, may VS lied to me or there is a conflict for my dlls,
see below screenshot:
7

Looks like there was a problem with your deployment, and the resulting environment still contains an old version.

Here’s the check in 1.6.X:

And the absence of the check in 1.7.X: