When trying to create a filter for a solution containing Service Fabric projects (*.sfproj), when I check the checkbox next to such a project, an exception is thrown from Project.Dependencies:
System.NullReferenceException: Object reference not set to an instance of an object.
at CWDev.SLNTools.Core.Project.d__f.MoveNext()
at CWDev.SLNTools.Core.Filter.FilterFile.AddRecursiveDependenciesToList(List`1 includedProjects, Project project)
at CWDev.SLNTools.Core.Filter.FilterFile.ApplyOn(SolutionFile original)
at CWDev.SLNTools.UIKit.CreateFilterForm.UpdateTreeView()
at CWDev.SLNTools.UIKit.CreateFilterForm.m_treeview_AfterCheck(Object sender, TreeViewEventArgs e)
The same exception happens if I edit the slnfilter file by hand, add an appropriate <ProjectToKeep> element and try to invoke "Create Filtered Solution Only" from the shell context menu.
When trying to create a filter for a solution containing Service Fabric projects (*.sfproj), when I check the checkbox next to such a project, an exception is thrown from
Project.Dependencies
:System.NullReferenceException: Object reference not set to an instance of an object. at CWDev.SLNTools.Core.Project.d__f.MoveNext()
at CWDev.SLNTools.Core.Filter.FilterFile.AddRecursiveDependenciesToList(List`1 includedProjects, Project project)
at CWDev.SLNTools.Core.Filter.FilterFile.ApplyOn(SolutionFile original)
at CWDev.SLNTools.UIKit.CreateFilterForm.UpdateTreeView()
at CWDev.SLNTools.UIKit.CreateFilterForm.m_treeview_AfterCheck(Object sender, TreeViewEventArgs e)
The same exception happens if I edit the slnfilter file by hand, add an appropriate
<ProjectToKeep>
element and try to invoke "Create Filtered Solution Only" from the shell context menu.