StefanKert / BuildVision

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

many errors in VS ActivityLog #64

Closed FroggieFrog closed 4 years ago

FroggieFrog commented 6 years ago

I get many (>20) erros when using a solution with >20 projects. I started Vs with parameter "/log" and found several errors, all with the same Stacktrace:

Unknown exception Exception: Object reference not set to an instance of an object.
StackTrace:   
at BuildVision.Tool.Building.BuildContext.GetProjectItem(BuildProjectContextEntry projectEntry, ProjectItem& projectItem)   
at BuildVision.Tool.Building.BuildContext.EventSource_ErrorRaised(BuildOutputLogger loggerSender, LazyFormattedBuildEventArgs e, ErrorLevel errorLevel) 
Source: 
BuildVision TargetSite: Boolean GetProjectItem(BuildVision.UI.Contracts.BuildProjectContextEntry, BuildVision.UI.Models.ProjectItem ByRef) 
BaseException: 
System.NullReferenceException: Object reference not set to an instance of an object.   
at BuildVision.Tool.Building.BuildContext.GetProjectItem(BuildProjectContextEntry projectEntry, ProjectItem& projectItem)   
at BuildVision.Tool.Building.BuildContext.EventSource_ErrorRaised(BuildOutputLogger loggerSender, LazyFormattedBuildEventArgs e, ErrorLevel errorLevel)

VS 15.7.4 BuildVision 2.1.1.157

StefanKert commented 4 years ago

Should be resolved with the latest v3. If this still happens please reopen