This project is read-only.

Crash on addin launch


When I try to invoke the PipelineBuilder tool from my VS project, i get this crash:
System.NullReferenceException: Object reference not set to an instance of an object.
at VSPipelineBuilder.Connect.GetProjectsFromSolutionFolder(Project slnFolder) in D:\AppBuilding\PipelineBuilder\VSPipelineBuilder\Connect.cs:line 488
at VSPipelineBuilder.Connect.GetProjectsFromSolution(DTE2 root) in D:\AppBuilding\PipelineBuilder\VSPipelineBuilder\Connect.cs:line 476
at VSPipelineBuilder.PipelineConfiguration.Initialize(DTE2 root) in D:\AppBuilding\PipelineBuilder\VSPipelineBuilder\PipelineConfiguration.cs:line 68
at VSPipelineBuilder.Connect.Exec(String commandName, vsCommandExecOption executeOption, Object& varIn, Object& varOut, Boolean& handled) in D:\AppBuilding\PipelineBuilder\VSPipelineBuilder\Connect.cs:line 161
My solution is non-standard in that all projects are in subfolders. Not sure if this is the issue.


ravensorb wrote May 4, 2009 at 4:13 PM

I found the cause and a fix for this. The issues if anyone wants the code, let me know.

In connect.cs after line 487 add the following
if (proj == null) continue;

xlegalles wrote Oct 14, 2009 at 4:12 PM

I confirm: i used the pipeline builder in my solution and everything worked. Then added some new projects, each time in a separate folder, plus a test project ... but if i want to modify the contract and reuse the pipeline builder i get the same error.
Workaround: created a new solution to host the existing contract + side adapters + views ...

wrote Oct 14, 2009 at 4:12 PM

wrote Oct 30, 2009 at 12:23 PM

wrote Jan 15, 2010 at 8:03 PM

wrote Feb 14, 2013 at 9:01 PM