VS: Fix DOTNET_SDK builds when no VS_PACKAGE_REFERENCES set

nuget restore always needs to be run for the new DOTNET_SDK style
projects, even when VS_PACKAGE_REFERENCES is empty.

Fixes: #23405
4 files changed