HgCV
CDE Use of LinkTarget
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
#if WorkItems
|
||||
using File_Folder_Helper.ADO2024.PI3.WorkItems;
|
||||
#endif
|
||||
using Microsoft.Extensions.Logging;
|
||||
#if WorkItems
|
||||
using Microsoft.TeamFoundation.WorkItemTracking.WebApi;
|
||||
using Microsoft.VisualStudio.Services.Common;
|
||||
using Microsoft.VisualStudio.Services.WebApi;
|
||||
@ -9,12 +11,15 @@ using System.Net.Http.Headers;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using System.Web;
|
||||
#endif
|
||||
|
||||
namespace File_Folder_Helper.ADO2024.PI3;
|
||||
|
||||
internal static partial class Helper20240830
|
||||
{
|
||||
|
||||
#if WorkItems
|
||||
|
||||
private record WorkItem(string AreaPath,
|
||||
string? AssignedTo,
|
||||
int? BusinessValue,
|
||||
@ -232,5 +237,14 @@ internal static partial class Helper20240830
|
||||
CompareWorkItems(workItemTrackingHttpClient, targetFileLocation, project, site, valueWithReqCollection);
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
|
||||
internal static void CompareWorkItems(ILogger<Worker> logger, List<string> args)
|
||||
{
|
||||
logger.LogError("CompareWorkItems is not available in WorkItems {args[0]}", args[0]);
|
||||
logger.LogError("CompareWorkItems is not available in WorkItems {args[1]}", args[1]);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}
|
Reference in New Issue
Block a user