[dotnet-run] fix logging and Restore for device selection
#52113
+61
−11
Restore for device selection
#52113