/// <summary>
 /// 使用 dotnet.exe 工具移除解决方案对替换工程的引用
 /// </summary>
 private void RemoveProject()
 {
     if (!CmdHelper.ExecuteTool(DotNetExe, $"sln \"{SolutionConfig.AbsolutePath}\" remove \"{SourceCsprojFile}\"",
                                out string result, out string errorMsg))
     {
         throw new NotSupportedException("fail when remove reference to sln use dotnet.exe " + errorMsg);
     }
 }