StefanKert / BuildVision

A Visual Studio extension to visualize the building process.
MIT License
261 stars 43 forks source link

Fill projects list on build begin does not work #81

Closed pyrocumulus closed 4 years ago

pyrocumulus commented 4 years ago

In the preview version for 2019, it appears the option "Fill projects list on build begin" isn't working anymore. I tried setting the option and restarting VS but to no avail. The list still only populates by the projects it has built, instead of preparing the whole list.

Not a major problem obviously but I like seeing the build in advance (including up-to-date projects) so it's a pretty useful function for me.

Build vision version: 3.0.0-preview-1.99+6ae7b4a6ab Visual Studio 2019 version: 16.2.5

StefanKert commented 4 years ago

Hi @pyrocumulus

I just checked the version that you are using and for me it is working, I can even switch the option during the build and it shows all projects.

Are you doing a full build of the solution or just a single project?

pyrocumulus commented 4 years ago

Full solution (re)build and single project (re)build both have the same issue. They clear the project list at the beginning and then add to it, one built project at a time. I do not have the 'Hide up to date targets' option on by the way. I tried switching the option on and off again, even restarting VS between changes; nothing appears to change in the behaviour. Also I've noticed that the last project that's started building is shown twice (while building and afterwards still), don't know if that's related though.

I can try completely uninstalling the extension, maybe that helps.

pyrocumulus commented 4 years ago

I think I've found the reason for this problem. I have a solution with some of the projects in an unloaded state and that seems to cause this issue. If I load all the projects in the solution, then the project list shows all the projects as well.

StefanKert commented 4 years ago

Thanks for the update :). That sounds reasonable. Would you expect BuildVision to show also the unloaded projects? Because since they are not really builded if they are unloaded I would not expect them to be there.

pyrocumulus commented 4 years ago

I understand why they would be omitted from the build list. Something could be said for adding them in an 'Unloaded' build state, but for developers with large solutions that might be impractical.

However, just to be clear: my problem is not with the missing unloaded projects. It's when I have an unloaded project, the rest of the loaded projects also do not fill the project list on build start. The complete setting appears to stop working.

Op za 30 nov. 2019 07:28 schreef Stefan Kert notifications@github.com:

Thanks for the update :). That sounds reasonable. Would you expect BuildVision to show also the unloaded projects? Because since they are not really builded if they are unloaded I would not expect them to be there.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/StefanKert/BuildVision/issues/81?email_source=notifications&email_token=AANEIJVREMCQRO6JNMWDR2LQWIBXLA5CNFSM4I6O3ARKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFP2PWI#issuecomment-559917017, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANEIJWNXYQOR6ZZAUEO4VLQWIBXLANCNFSM4I6O3ARA .

StefanKert commented 4 years ago

Hi @pyrocumulus,

thanks for the clarification. I´ll try to reproduce this and fix it in the next preview :) thanks a lot!