2020 UPDATE
I personally prefer to use dotnetcommand wherever it is possible.
The solution I found working out fine is changing the default project reference in the main project as below
true
{ProjectName}.dll
This solution is confirmed that it works when targeting netstandard2.0and above.