This commit fixes #6198. When a project is removed from a solution using the `sln remove` command, any projects in the solution with a project dependency (note: this is different from a project reference) on the project should have the project removed as a dependency. The fix is to scan the projects in the solution and remove any dependencies on the projects being removed. If the dependencies section is empty after the remove, we skip serialization of the section like Visual Studio does.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			74 B
			
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			74 B
			
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
 | 
						|
namespace First
 | 
						|
{
 | 
						|
    public class Class1
 | 
						|
    {
 | 
						|
    }
 | 
						|
}
 |