coapp / coapp.powershell

ClrPlus Signing
52 stars 43 forks source link

When loading the backup nuget package, warn user #31

Open gordonwatts opened 10 years ago

gordonwatts commented 10 years ago

Between the "rebuilding All started:..." and "main.cpp" lines there is a very long wait:

NuGet package restore started.
All packages are already installed and there is nothing to restore.
NuGet package restore finished.
1>------ Rebuild All started: Project: SimpleStandaloneROOTPackageTest, Configuration: Debug Win32 ------
1>  main.cpp
1>  SimpleStandaloneROOTPackageTest.vcxproj -> C:\Users\Gordon\Documents\Code\TestOutCPPPackages\Debug\SimpleStandaloneROOTPackageTest.exe
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

This wait is, I think, due to the build infrastructure getting and downloading the overlay package. It would be great if some line was printed out - especially if it has to go online to fetch the package, it can hang for a while.

fearthecowboy commented 10 years ago

I tried to get a status line printed, but it doesn't show up until too late. I'm thinking about popping up a gui window for a quick bit to notify the user what's going on. Or maybe a tray balloon popup.

gordonwatts commented 10 years ago

Don't do a gui window... it needs to be able to run on headless servers, etc. And it would be helpful if the exact package that is downloaded (or whatever) appears in the log file so that upon later inspection you can see that it did the right thing... though that might a verbose message. And since the nuget command is invoked, you can't get it to run a message? or add a new step to the msbuild process (I've not looked at the mechanics for this).