BuildVision icon indicating copy to clipboard operation
BuildVision copied to clipboard

Projects Grid doesn't update after build

Open 3x71 opened this issue 4 years ago • 5 comments

Visual Studio 2022 17.1.0, BuildVision 3.1.0

example

3x71 avatar Feb 22 '22 10:02 3x71

I've noticed, that the progressbar that should show the complete Buildprogress, i guess, isnt updating aswell.

praktii avatar Feb 23 '22 09:02 praktii

Running into these same issues.

gamagan avatar Feb 26 '22 13:02 gamagan

VisualStudio 2019 Buildvision 3.1.0.7

  1. Columns Warnings and Errors always empty (no Update)
  2. Elapsed time of each project increases when a project is completed.
  3. Strange Version Number in Caption Bar

BuildVision_VS2019

Graupner avatar Mar 06 '22 23:03 Graupner

C:\Users\XXX\AppData\Local\BuildVision\extension.log

2022-03-06 23:56:56.133 [03552] EROR [01] SolutionBuildEvents
System.NullReferenceException: Object reference not set to an instance of an object. at BuildVision.Core.BuildInformationProvider.GetProjectState(Boolean success, Boolean canceled, IProjectItem currentProject) at BuildVision.Core.BuildInformationProvider.ProjectBuildFinished(BuildAction buildAction, String projectIdentifier, Boolean success, Boolean canceled) at BuildVision.Core.SolutionBuildEvents.UpdateProjectCfg_Done(IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, UInt32 dwAction, Int32 fSuccess, Int32 fCancel) 2022-03-06 23:57:35.619 [03552] EROR [01] SolutionBuildEvents
System.NullReferenceException: Object reference not set to an instance of an object. at BuildVision.Core.BuildInformationProvider.GetProjectState(Boolean success, Boolean canceled, IProjectItem currentProject) at BuildVision.Core.BuildInformationProvider.ProjectBuildFinished(BuildAction buildAction, String projectIdentifier, Boolean success, Boolean canceled) at BuildVision.Core.SolutionBuildEvents.UpdateProjectCfg_Done(IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, UInt32 dwAction, Int32 fSuccess, Int32 fCancel) 2022-03-06 23:57:37.713 [03552] EROR [01] SolutionBuildEvents
System.NullReferenceException: Object reference not set to an instance of an object. at BuildVision.Core.BuildInformationProvider.GetProjectState(Boolean success, Boolean canceled, IProjectItem currentProject) at BuildVision.Core.BuildInformationProvider.ProjectBuildFinished(BuildAction buildAction, String projectIdentifier, Boolean success, Boolean canceled) at BuildVision.Core.SolutionBuildEvents.UpdateProjectCfg_Done(IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, UInt32 dwAction, Int32 fSuccess, Int32 fCancel) 2022-03-06 23:58:00.653 [03552] EROR [01] SolutionBuildEvents
System.NullReferenceException: Object reference not set to an instance of an object. at BuildVision.Core.BuildInformationProvider.GetProjectState(Boolean success, Boolean canceled, IProjectItem currentProject) at BuildVision.Core.BuildInformationProvider.ProjectBuildFinished(BuildAction buildAction, String projectIdentifier, Boolean success, Boolean canceled) at BuildVision.Core.SolutionBuildEvents.UpdateProjectCfg_Done(IVsHierarchy pHierProj, IVsCfg pCfgProj, IVsCfg pCfgSln, UInt32 dwAction, Int32 fSuccess, Int32 fCancel)

Graupner avatar Mar 06 '22 23:03 Graupner

@StefanKert sorry for tagging you but could we get an update on this? The plugin is next to useless if this issue is not resolved.

aeris170 avatar Sep 20 '22 13:09 aeris170

Hi there,

a Preview of version 4.x is available in the VSIX Gallery feed. You can follow along with the installation instructions from the README https://github.com/StefanKert/BuildVision?tab=readme-ov-file#setup-visual-studio-for-preview-channel. Would love to hear if this fixes the issues you are facing. As soon as the issues that people are currently seeing are resolved there will be a official marketplace release.

Thanks :)

StefanKert avatar Apr 29 '24 06:04 StefanKert

Hi there,

a Preview of version 4.x is available in the VSIX Gallery feed. You can follow along with the installation instructions from the README https://github.com/StefanKert/BuildVision?tab=readme-ov-file#setup-visual-studio-for-preview-channel. Would love to hear if this fixes the issues you are facing. As soon as the issues that people are currently seeing are resolved there will be a official marketplace release.

Thanks :)

Hey Stefan! I'll give it a try and report back tonight. Can't do it now because I'm away.

aeris170 avatar Apr 29 '24 09:04 aeris170

Hey @StefanKert plugin seems to be mostly fixed. It now updates as the build progresses. However, there is a problem with the error and warning count display. It shows 0 errors/warnings despite there being numerous. Here are some screenshots.

image image

aeris170 avatar May 01 '24 17:05 aeris170

Hi @aeris170 ,

thanks a lot for the quick review. The error is reproducible for me. Will keep you posted and release another version asap. Thanks!

StefanKert avatar May 02 '24 04:05 StefanKert

Hi @aeris170,

it seems that some vs 2022 instances are registering the MS Build logger differently. After adding another interface it is working for me and errors / warnings are correctly counted. Still not sure if this fixes it for all instances though. If you have got a few minutes to spare you can maybe do a quick check if it is also fixed for you. The new version is available in the gallery 4.0.0.10 :) thanks!

StefanKert avatar May 03 '24 15:05 StefanKert

Hey @StefanKert

The issue seems to be resolved on my end too. VS 2022 Version 17.9.5.

image

aeris170 avatar May 03 '24 19:05 aeris170

Perfect, thank you so much for the feedback. Going to close this issue now. If anyone is seeing other issues please create a new one. I will do a few more tests and roll out 4.0.

StefanKert avatar May 03 '24 19:05 StefanKert