dotnet-installer/TestAssets/TestProjects/TestAppWithSlnProjectDependencyToRemove/Second/Class1.cs
Peter Huene 6210dab09c Remove project dependencies when removing a project from a solution.
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.
2017-11-21 18:20:05 -08:00

8 lines
75 B
C#

using System;
namespace Second
{
public class Class1
{
}
}