Closed 3x71 closed 4 months ago
I've noticed, that the progressbar that should show the complete Buildprogress, i guess, isnt updating aswell.
Running into these same issues.
VisualStudio 2019 Buildvision 3.1.0.7
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)
@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.
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 :)
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.
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.
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!
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!
Hey @StefanKert
The issue seems to be resolved on my end too. VS 2022 Version 17.9.5.
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.
Visual Studio 2022 17.1.0, BuildVision 3.1.0