diff --git a/ProcessingClips.cs b/ProcessingClips.cs index c312746..2e8db81 100644 --- a/ProcessingClips.cs +++ b/ProcessingClips.cs @@ -256,108 +256,163 @@ public async Task ProcessClipsAsync(List clipFilePaths try { - SentrySdk.AddBreadcrumb("Starting clip processing", "process", level: Sentry.BreadcrumbLevel.Info); - OnProgress?.Invoke("Starting clip processing..."); - - transaction.SetExtra("total_clips", clipFilePaths.Count); - transaction.SetExtra("blocked_resources", blockedResources.Count); - transaction.SetExtra("patch_mode", mode.ToString()); - transaction.SetExtra("case_insensitive", caseInsensitive); - - if (!clipFilePaths.Any()) - { - SentrySdk.AddBreadcrumb("No clip files selected", "process", level: Sentry.BreadcrumbLevel.Warning); - OnError?.Invoke("No clip files selected for processing"); - transaction.Finish(SpanStatus.InvalidArgument); - return result; - } + InitializeProcessingTransaction(transaction, clipFilePaths, blockedResources, mode, caseInsensitive); - if (!blockedResources.Any()) + if (!ValidateProcessingInputs(clipFilePaths, blockedResources, transaction)) { - SentrySdk.AddBreadcrumb("No blocked resources specified", "process", level: Sentry.BreadcrumbLevel.Warning); - OnError?.Invoke("No blocked resources specified"); - transaction.Finish(SpanStatus.InvalidArgument); return result; } - // Create backup directory structure - var backupSpan = transaction.StartChild("create-backup-directory"); - if (!Directory.Exists(backupDirectory)) - { - Directory.CreateDirectory(backupDirectory); - OnProgress?.Invoke($"Created backup directory: {backupDirectory}"); - } - else - { - OnProgress?.Invoke($"Using existing backup directory: {backupDirectory}"); - } - backupSpan.Finish(); - - // Log backup structure info - var backupsRoot = Path.GetDirectoryName(backupDirectory); - OnProgress?.Invoke($"Backups root folder: {backupsRoot}"); - OnProgress?.Invoke($"Current execution backup folder: {Path.GetFileName(backupDirectory)}"); + EnsureBackupDirectoryExists(transaction); result.TotalFiles = clipFilePaths.Count; result.ProcessedFiles = 0; result.PatchedFiles = 0; result.TotalPatches = 0; - // Process each clip file - var processFilesSpan = transaction.StartChild("process-all-files"); - foreach (var clipPath in clipFilePaths) - { - OnProgress?.Invoke($"Processing: {Path.GetFileName(clipPath)}"); + await ProcessAllClipFiles(clipFilePaths, blockedResources, mode, placeholder, caseInsensitive, result, transaction); - var fileResult = await ProcessSingleClipAsync(clipPath, blockedResources, mode, placeholder, caseInsensitive); + FinalizeProcessingResult(result, transaction); - result.ProcessedFiles++; - result.TotalPatches += fileResult.PatchCount; + return result; + } + catch (Exception ex) + { + HandleProcessingException(ex, clipFilePaths, blockedResources, result, transaction); + return result; + } + } - if (fileResult.PatchCount > 0) - { - result.PatchedFiles++; - OnProgress?.Invoke($"✓ Patched {fileResult.PatchCount} patterns in {Path.GetFileName(clipPath)}"); - } - else - { - OnProgress?.Invoke($"- No patterns found in {Path.GetFileName(clipPath)}"); - } + /// + /// Initialize the Sentry transaction and logging for processing + /// + private void InitializeProcessingTransaction(ISpan transaction, List clipFilePaths, + List blockedResources, PatchMode mode, bool caseInsensitive) + { + SentrySdk.AddBreadcrumb("Starting clip processing", "process", level: Sentry.BreadcrumbLevel.Info); + OnProgress?.Invoke("Starting clip processing..."); + + transaction.SetExtra("total_clips", clipFilePaths.Count); + transaction.SetExtra("blocked_resources", blockedResources.Count); + transaction.SetExtra("patch_mode", mode.ToString()); + transaction.SetExtra("case_insensitive", caseInsensitive); + } - result.FileResults.Add(fileResult); - } - processFilesSpan.Finish(); + /// + /// Validate that clip files and blocked resources are provided + /// + private bool ValidateProcessingInputs(List clipFilePaths, List blockedResources, ISpan transaction) + { + if (!clipFilePaths.Any()) + { + SentrySdk.AddBreadcrumb("No clip files selected", "process", level: Sentry.BreadcrumbLevel.Warning); + OnError?.Invoke("No clip files selected for processing"); + transaction.Finish(SpanStatus.InvalidArgument); + return false; + } - result.Success = true; - result.BackupDirectory = backupDirectory; - - transaction.SetExtra("files_processed", result.ProcessedFiles); - transaction.SetExtra("files_patched", result.PatchedFiles); - transaction.SetExtra("total_patches", result.TotalPatches); + if (!blockedResources.Any()) + { + SentrySdk.AddBreadcrumb("No blocked resources specified", "process", level: Sentry.BreadcrumbLevel.Warning); + OnError?.Invoke("No blocked resources specified"); + transaction.Finish(SpanStatus.InvalidArgument); + return false; + } - SentrySdk.AddBreadcrumb($"Processing complete: {result.TotalPatches} patches applied", "process", level: Sentry.BreadcrumbLevel.Info); - OnComplete?.Invoke($"Processing complete! Processed {result.ProcessedFiles} files, " + - $"patched {result.PatchedFiles} files with {result.TotalPatches} total patches."); + return true; + } - transaction.Finish(SpanStatus.Ok); - return result; + /// + /// Ensure backup directory exists and log information + /// + private void EnsureBackupDirectoryExists(ISpan transaction) + { + var backupSpan = transaction.StartChild("create-backup-directory"); + if (!Directory.Exists(backupDirectory)) + { + Directory.CreateDirectory(backupDirectory); + OnProgress?.Invoke($"Created backup directory: {backupDirectory}"); } - catch (Exception ex) + else { - SentrySdk.CaptureException(ex, scope => + OnProgress?.Invoke($"Using existing backup directory: {backupDirectory}"); + } + backupSpan.Finish(); + + // Log backup structure info + var backupsRoot = Path.GetDirectoryName(backupDirectory); + OnProgress?.Invoke($"Backups root folder: {backupsRoot}"); + OnProgress?.Invoke($"Current execution backup folder: {Path.GetFileName(backupDirectory)}"); + } + + /// + /// Process all clip files in the list + /// + private async Task ProcessAllClipFiles(List clipFilePaths, List blockedResources, + PatchMode mode, string placeholder, bool caseInsensitive, ProcessingResult result, ISpan transaction) + { + var processFilesSpan = transaction.StartChild("process-all-files"); + foreach (var clipPath in clipFilePaths) + { + OnProgress?.Invoke($"Processing: {Path.GetFileName(clipPath)}"); + + var fileResult = await ProcessSingleClipAsync(clipPath, blockedResources, mode, placeholder, caseInsensitive); + + result.ProcessedFiles++; + result.TotalPatches += fileResult.PatchCount; + + if (fileResult.PatchCount > 0) { - scope.SetTag("operation", "process-clips"); - scope.SetExtra("total_clips", clipFilePaths.Count); - scope.SetExtra("blocked_resources_count", blockedResources.Count); - scope.SetExtra("processed_files", result.ProcessedFiles); - }); - - OnError?.Invoke($"Processing failed: {ex.Message}"); - result.Success = false; - result.ErrorMessage = ex.Message; - transaction.Finish(SpanStatus.InternalError); - return result; + result.PatchedFiles++; + OnProgress?.Invoke($"✓ Patched {fileResult.PatchCount} patterns in {Path.GetFileName(clipPath)}"); + } + else + { + OnProgress?.Invoke($"- No patterns found in {Path.GetFileName(clipPath)}"); + } + + result.FileResults.Add(fileResult); } + processFilesSpan.Finish(); + } + + /// + /// Finalize the processing result with success status and logging + /// + private void FinalizeProcessingResult(ProcessingResult result, ISpan transaction) + { + result.Success = true; + result.BackupDirectory = backupDirectory; + + transaction.SetExtra("files_processed", result.ProcessedFiles); + transaction.SetExtra("files_patched", result.PatchedFiles); + transaction.SetExtra("total_patches", result.TotalPatches); + + SentrySdk.AddBreadcrumb($"Processing complete: {result.TotalPatches} patches applied", "process", level: Sentry.BreadcrumbLevel.Info); + OnComplete?.Invoke($"Processing complete! Processed {result.ProcessedFiles} files, " + + $"patched {result.PatchedFiles} files with {result.TotalPatches} total patches."); + + transaction.Finish(SpanStatus.Ok); + } + + /// + /// Handle exceptions during processing + /// + private void HandleProcessingException(Exception ex, List clipFilePaths, List blockedResources, + ProcessingResult result, ISpan transaction) + { + SentrySdk.CaptureException(ex, scope => + { + scope.SetTag("operation", "process-clips"); + scope.SetExtra("total_clips", clipFilePaths.Count); + scope.SetExtra("blocked_resources_count", blockedResources.Count); + scope.SetExtra("processed_files", result.ProcessedFiles); + }); + + OnError?.Invoke($"Processing failed: {ex.Message}"); + result.Success = false; + result.ErrorMessage = ex.Message; + transaction.Finish(SpanStatus.InternalError); } /// @@ -379,99 +434,150 @@ private async Task ProcessSingleClipAsync(string clipPath, try { - if (!File.Exists(clipPath)) + if (!ValidateFileExists(clipPath, result, span)) { - result.ErrorMessage = "File not found"; - SentrySdk.AddBreadcrumb($"File not found: {clipPath}", "file", level: Sentry.BreadcrumbLevel.Warning); - span.Finish(SpanStatus.NotFound); return result; } - // Create backup with original filename in the timestamped backup folder - var backupSpan = span.StartChild("create-backup"); - var backupPath = Path.Combine(backupDirectory, Path.GetFileName(clipPath)); + CreateFileBackup(clipPath, result, span); - // Ensure backup directory exists (in case this is the first file) - Directory.CreateDirectory(backupDirectory); - - // Copy original file to backup location - File.Copy(clipPath, backupPath, true); - result.BackupPath = backupPath; - backupSpan.Finish(); + var fileData = await ReadFileData(clipPath, span); + + bool hasChanges = FindAndApplyPatches(fileData, blockedResources, mode, placeholder, caseInsensitive, result, span); - OnProgress?.Invoke($"Backed up: {Path.GetFileName(clipPath)} → {Path.GetFileName(backupDirectory)}"); + await WriteFileIfChanged(clipPath, fileData, hasChanges, result, span); - // Read file data - var readSpan = span.StartChild("read-file"); - var fileData = await File.ReadAllBytesAsync(clipPath); - var fileSize = fileData.Length; - readSpan.SetExtra("file_size_bytes", fileSize); - readSpan.Finish(); + span.SetExtra("patch_count", result.PatchCount); + span.SetExtra("file_size_bytes", fileData.Length); + span.Finish(SpanStatus.Ok); - var originalData = (byte[])fileData.Clone(); - bool hasChanges = false; + return result; + } + catch (Exception ex) + { + HandleFileProcessingException(ex, clipPath, result, span); + return result; + } + } - // Process each blocked resource pattern - var patchSpan = span.StartChild("find-and-patch"); - foreach (var resource in blockedResources) - { - var matches = FindPatternMatches(fileData, resource, caseInsensitive); + /// + /// Validate that the file exists + /// + private bool ValidateFileExists(string clipPath, FileProcessingResult result, ISpan span) + { + if (!File.Exists(clipPath)) + { + result.ErrorMessage = "File not found"; + SentrySdk.AddBreadcrumb($"File not found: {clipPath}", "file", level: Sentry.BreadcrumbLevel.Warning); + span.Finish(SpanStatus.NotFound); + return false; + } + return true; + } - foreach (var match in matches) - { - ApplyPatch(fileData, match.StartIndex, match.Length, mode, placeholder); - result.PatchCount++; - hasChanges = true; + /// + /// Create a backup of the file + /// + private void CreateFileBackup(string clipPath, FileProcessingResult result, ISpan span) + { + var backupSpan = span.StartChild("create-backup"); + var backupPath = Path.Combine(backupDirectory, Path.GetFileName(clipPath)); - result.PatchDetails.Add(new PatchDetail - { - Pattern = resource, - MatchedText = match.MatchedText, - StartIndex = match.StartIndex, - Length = match.Length - }); - } - } - patchSpan.SetExtra("patches_applied", result.PatchCount); - patchSpan.Finish(); + // Ensure backup directory exists (in case this is the first file) + Directory.CreateDirectory(backupDirectory); - // Write changes if any patches were applied - if (hasChanges) - { - var writeSpan = span.StartChild("write-patched-file"); - await File.WriteAllBytesAsync(clipPath, fileData); - writeSpan.Finish(); - - result.Success = true; - SentrySdk.AddBreadcrumb($"Applied {result.PatchCount} patches to {Path.GetFileName(clipPath)}", "file", level: Sentry.BreadcrumbLevel.Info); - } - else + // Copy original file to backup location + File.Copy(clipPath, backupPath, true); + result.BackupPath = backupPath; + backupSpan.Finish(); + + OnProgress?.Invoke($"Backed up: {Path.GetFileName(clipPath)} → {Path.GetFileName(backupDirectory)}"); + } + + /// + /// Read file data from disk + /// + private async Task ReadFileData(string clipPath, ISpan span) + { + var readSpan = span.StartChild("read-file"); + var fileData = await File.ReadAllBytesAsync(clipPath); + readSpan.SetExtra("file_size_bytes", fileData.Length); + readSpan.Finish(); + return fileData; + } + + /// + /// Find patterns and apply patches to the file data + /// + private bool FindAndApplyPatches(byte[] fileData, List blockedResources, PatchMode mode, + string placeholder, bool caseInsensitive, FileProcessingResult result, ISpan span) + { + bool hasChanges = false; + var patchSpan = span.StartChild("find-and-patch"); + + foreach (var resource in blockedResources) + { + var matches = FindPatternMatches(fileData, resource, caseInsensitive); + + foreach (var match in matches) { - result.Success = true; // No changes needed is still success + ApplyPatch(fileData, match.StartIndex, match.Length, mode, placeholder); + result.PatchCount++; + hasChanges = true; + + result.PatchDetails.Add(new PatchDetail + { + Pattern = resource, + MatchedText = match.MatchedText, + StartIndex = match.StartIndex, + Length = match.Length + }); } + } + + patchSpan.SetExtra("patches_applied", result.PatchCount); + patchSpan.Finish(); + return hasChanges; + } - span.SetExtra("patch_count", result.PatchCount); - span.SetExtra("file_size_bytes", fileSize); - span.Finish(SpanStatus.Ok); + /// + /// Write the patched file data if changes were made + /// + private async Task WriteFileIfChanged(string clipPath, byte[] fileData, bool hasChanges, + FileProcessingResult result, ISpan span) + { + if (hasChanges) + { + var writeSpan = span.StartChild("write-patched-file"); + await File.WriteAllBytesAsync(clipPath, fileData); + writeSpan.Finish(); - return result; + result.Success = true; + SentrySdk.AddBreadcrumb($"Applied {result.PatchCount} patches to {Path.GetFileName(clipPath)}", "file", level: Sentry.BreadcrumbLevel.Info); } - catch (Exception ex) + else { - SentrySdk.CaptureException(ex, scope => - { - scope.SetTag("operation", "process-single-clip"); - scope.SetExtra("file_path", clipPath); - scope.SetExtra("file_name", Path.GetFileName(clipPath)); - }); - - result.Success = false; - result.ErrorMessage = ex.Message; - span.Finish(SpanStatus.InternalError); - return result; + result.Success = true; // No changes needed is still success } } + /// + /// Handle exceptions during file processing + /// + private void HandleFileProcessingException(Exception ex, string clipPath, FileProcessingResult result, ISpan span) + { + SentrySdk.CaptureException(ex, scope => + { + scope.SetTag("operation", "process-single-clip"); + scope.SetExtra("file_path", clipPath); + scope.SetExtra("file_name", Path.GetFileName(clipPath)); + }); + + result.Success = false; + result.ErrorMessage = ex.Message; + span.Finish(SpanStatus.InternalError); + } + /// /// Find pattern matches in binary data /// diff --git a/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs deleted file mode 100644 index 2217181..0000000 --- a/obj/Debug/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/obj/Debug/net8.0-windows/apphost.exe b/obj/Debug/net8.0-windows/apphost.exe deleted file mode 100644 index bc68f54..0000000 Binary files a/obj/Debug/net8.0-windows/apphost.exe and /dev/null differ diff --git a/obj/Debug/net8.0-windows/clip2load.AssemblyInfo.cs b/obj/Debug/net8.0-windows/clip2load.AssemblyInfo.cs deleted file mode 100644 index 53c29d3..0000000 --- a/obj/Debug/net8.0-windows/clip2load.AssemblyInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("clip2load")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("clip2load")] -[assembly: System.Reflection.AssemblyTitleAttribute("clip2load")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] -[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/obj/Debug/net8.0-windows/clip2load.AssemblyInfoInputs.cache b/obj/Debug/net8.0-windows/clip2load.AssemblyInfoInputs.cache deleted file mode 100644 index 550c81a..0000000 --- a/obj/Debug/net8.0-windows/clip2load.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -69266fcb246f6a2d651af7544b6b6a6dd31ce7aebb8603a642bc56ebd0c2a6b4 diff --git a/obj/Debug/net8.0-windows/clip2load.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net8.0-windows/clip2load.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index e0debff..0000000 --- a/obj/Debug/net8.0-windows/clip2load.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,22 +0,0 @@ -is_global = true -build_property.ApplicationManifest = -build_property.StartupObject = -build_property.ApplicationDefaultFont = -build_property.ApplicationHighDpiMode = -build_property.ApplicationUseCompatibleTextRendering = -build_property.ApplicationVisualStyles = -build_property.TargetFramework = net8.0-windows -build_property.TargetPlatformMinVersion = 7.0 -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = clip2load -build_property.ProjectDir = C:\Users\Avenzey\Documents\clip2load\ -build_property.EnableComHosting = -build_property.EnableGeneratedComInterfaceComImportInterop = -build_property.CsWinRTUseWindowsUIXamlProjections = false -build_property.EffectiveAnalysisLevelStyle = 8.0 -build_property.EnableCodeStyleSeverity = diff --git a/obj/Debug/net8.0-windows/clip2load.GlobalUsings.g.cs b/obj/Debug/net8.0-windows/clip2load.GlobalUsings.g.cs deleted file mode 100644 index 84bbb89..0000000 --- a/obj/Debug/net8.0-windows/clip2load.GlobalUsings.g.cs +++ /dev/null @@ -1,10 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.Drawing; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; -global using global::System.Windows.Forms; diff --git a/obj/Debug/net8.0-windows/clip2load.assets.cache b/obj/Debug/net8.0-windows/clip2load.assets.cache deleted file mode 100644 index ab6be05..0000000 Binary files a/obj/Debug/net8.0-windows/clip2load.assets.cache and /dev/null differ diff --git a/obj/Debug/net8.0-windows/clip2load.clip2load.resources b/obj/Debug/net8.0-windows/clip2load.clip2load.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/obj/Debug/net8.0-windows/clip2load.clip2load.resources and /dev/null differ diff --git a/obj/Debug/net8.0-windows/clip2load.csproj.BuildWithSkipAnalyzers b/obj/Debug/net8.0-windows/clip2load.csproj.BuildWithSkipAnalyzers deleted file mode 100644 index e69de29..0000000 diff --git a/obj/Debug/net8.0-windows/clip2load.csproj.CoreCompileInputs.cache b/obj/Debug/net8.0-windows/clip2load.csproj.CoreCompileInputs.cache deleted file mode 100644 index f2eb22e..0000000 --- a/obj/Debug/net8.0-windows/clip2load.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -904fea52b313f9dca23ff790fa1039834dd5f9e49974b28991b547131b0626c8 diff --git a/obj/Debug/net8.0-windows/clip2load.csproj.FileListAbsolute.txt b/obj/Debug/net8.0-windows/clip2load.csproj.FileListAbsolute.txt deleted file mode 100644 index afaf496..0000000 --- a/obj/Debug/net8.0-windows/clip2load.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,16 +0,0 @@ -C:\Users\Avenzey\Documents\clip2load\bin\Debug\net8.0-windows\clip2load.exe -C:\Users\Avenzey\Documents\clip2load\bin\Debug\net8.0-windows\clip2load.deps.json -C:\Users\Avenzey\Documents\clip2load\bin\Debug\net8.0-windows\clip2load.runtimeconfig.json -C:\Users\Avenzey\Documents\clip2load\bin\Debug\net8.0-windows\clip2load.dll -C:\Users\Avenzey\Documents\clip2load\bin\Debug\net8.0-windows\clip2load.pdb -C:\Users\Avenzey\Documents\clip2load\obj\Debug\net8.0-windows\clip2load.clip2load.resources -C:\Users\Avenzey\Documents\clip2load\obj\Debug\net8.0-windows\clip2load.csproj.GenerateResource.cache -C:\Users\Avenzey\Documents\clip2load\obj\Debug\net8.0-windows\clip2load.GeneratedMSBuildEditorConfig.editorconfig -C:\Users\Avenzey\Documents\clip2load\obj\Debug\net8.0-windows\clip2load.AssemblyInfoInputs.cache -C:\Users\Avenzey\Documents\clip2load\obj\Debug\net8.0-windows\clip2load.AssemblyInfo.cs -C:\Users\Avenzey\Documents\clip2load\obj\Debug\net8.0-windows\clip2load.csproj.CoreCompileInputs.cache -C:\Users\Avenzey\Documents\clip2load\obj\Debug\net8.0-windows\clip2load.dll -C:\Users\Avenzey\Documents\clip2load\obj\Debug\net8.0-windows\refint\clip2load.dll -C:\Users\Avenzey\Documents\clip2load\obj\Debug\net8.0-windows\clip2load.pdb -C:\Users\Avenzey\Documents\clip2load\obj\Debug\net8.0-windows\clip2load.genruntimeconfig.cache -C:\Users\Avenzey\Documents\clip2load\obj\Debug\net8.0-windows\ref\clip2load.dll diff --git a/obj/Debug/net8.0-windows/clip2load.csproj.GenerateResource.cache b/obj/Debug/net8.0-windows/clip2load.csproj.GenerateResource.cache deleted file mode 100644 index ddab1cd..0000000 Binary files a/obj/Debug/net8.0-windows/clip2load.csproj.GenerateResource.cache and /dev/null differ diff --git a/obj/Debug/net8.0-windows/clip2load.designer.deps.json b/obj/Debug/net8.0-windows/clip2load.designer.deps.json deleted file mode 100644 index 8599efd..0000000 --- a/obj/Debug/net8.0-windows/clip2load.designer.deps.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "runtimeTarget": { - "name": ".NETCoreApp,Version=v8.0", - "signature": "" - }, - "compilationOptions": {}, - "targets": { - ".NETCoreApp,Version=v8.0": {} - }, - "libraries": {} -} \ No newline at end of file diff --git a/obj/Debug/net8.0-windows/clip2load.designer.runtimeconfig.json b/obj/Debug/net8.0-windows/clip2load.designer.runtimeconfig.json deleted file mode 100644 index 66c081b..0000000 --- a/obj/Debug/net8.0-windows/clip2load.designer.runtimeconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "net8.0", - "frameworks": [ - { - "name": "Microsoft.NETCore.App", - "version": "8.0.0" - }, - { - "name": "Microsoft.WindowsDesktop.App", - "version": "8.0.0" - } - ], - "additionalProbingPaths": [ - "C:\\Users\\Avenzey\\.dotnet\\store\\|arch|\\|tfm|", - "C:\\Users\\Avenzey\\.nuget\\packages", - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configProperties": { - "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true, - "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false, - "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true - } - } -} \ No newline at end of file diff --git a/obj/Debug/net8.0-windows/clip2load.dll b/obj/Debug/net8.0-windows/clip2load.dll deleted file mode 100644 index 1df5cc6..0000000 Binary files a/obj/Debug/net8.0-windows/clip2load.dll and /dev/null differ diff --git a/obj/Debug/net8.0-windows/clip2load.genruntimeconfig.cache b/obj/Debug/net8.0-windows/clip2load.genruntimeconfig.cache deleted file mode 100644 index 88a856f..0000000 --- a/obj/Debug/net8.0-windows/clip2load.genruntimeconfig.cache +++ /dev/null @@ -1 +0,0 @@ -84cb0d5f9682ace36be867fda98781b8399e00c6a7a395c755585c1c4ee94cf3 diff --git a/obj/Debug/net8.0-windows/clip2load.pdb b/obj/Debug/net8.0-windows/clip2load.pdb deleted file mode 100644 index 32db4cd..0000000 Binary files a/obj/Debug/net8.0-windows/clip2load.pdb and /dev/null differ diff --git a/obj/Debug/net8.0-windows/ref/clip2load.dll b/obj/Debug/net8.0-windows/ref/clip2load.dll deleted file mode 100644 index 9e7d6db..0000000 Binary files a/obj/Debug/net8.0-windows/ref/clip2load.dll and /dev/null differ diff --git a/obj/Debug/net8.0-windows/refint/clip2load.dll b/obj/Debug/net8.0-windows/refint/clip2load.dll deleted file mode 100644 index 9e7d6db..0000000 Binary files a/obj/Debug/net8.0-windows/refint/clip2load.dll and /dev/null differ diff --git a/obj/Release/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/obj/Release/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs deleted file mode 100644 index 2217181..0000000 --- a/obj/Release/net8.0-windows/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/obj/Release/net8.0-windows/apphost.exe b/obj/Release/net8.0-windows/apphost.exe deleted file mode 100644 index bc68f54..0000000 Binary files a/obj/Release/net8.0-windows/apphost.exe and /dev/null differ diff --git a/obj/Release/net8.0-windows/clip2load.AssemblyInfo.cs b/obj/Release/net8.0-windows/clip2load.AssemblyInfo.cs deleted file mode 100644 index 5d49aed..0000000 --- a/obj/Release/net8.0-windows/clip2load.AssemblyInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("clip2load")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+565f5a03a9c82876b02772c008de40b671f657db")] -[assembly: System.Reflection.AssemblyProductAttribute("clip2load")] -[assembly: System.Reflection.AssemblyTitleAttribute("clip2load")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")] -[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/obj/Release/net8.0-windows/clip2load.AssemblyInfoInputs.cache b/obj/Release/net8.0-windows/clip2load.AssemblyInfoInputs.cache deleted file mode 100644 index cd509f1..0000000 --- a/obj/Release/net8.0-windows/clip2load.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -0352105791f0164eac03956f128dae9da81dadddc87f555f05791bc4b79e7c2b diff --git a/obj/Release/net8.0-windows/clip2load.GeneratedMSBuildEditorConfig.editorconfig b/obj/Release/net8.0-windows/clip2load.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index ec45a25..0000000 --- a/obj/Release/net8.0-windows/clip2load.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,22 +0,0 @@ -is_global = true -build_property.ApplicationManifest = -build_property.StartupObject = -build_property.ApplicationDefaultFont = -build_property.ApplicationHighDpiMode = -build_property.ApplicationUseCompatibleTextRendering = -build_property.ApplicationVisualStyles = -build_property.TargetFramework = net8.0-windows -build_property.TargetPlatformMinVersion = 7.0 -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = clip2load -build_property.ProjectDir = C:\Users\Avenzey\Documents\Frostcloud\clip2load-repository\ -build_property.EnableComHosting = -build_property.EnableGeneratedComInterfaceComImportInterop = -build_property.CsWinRTUseWindowsUIXamlProjections = false -build_property.EffectiveAnalysisLevelStyle = 8.0 -build_property.EnableCodeStyleSeverity = diff --git a/obj/Release/net8.0-windows/clip2load.GlobalUsings.g.cs b/obj/Release/net8.0-windows/clip2load.GlobalUsings.g.cs deleted file mode 100644 index 84bbb89..0000000 --- a/obj/Release/net8.0-windows/clip2load.GlobalUsings.g.cs +++ /dev/null @@ -1,10 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.Drawing; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; -global using global::System.Windows.Forms; diff --git a/obj/Release/net8.0-windows/clip2load.assets.cache b/obj/Release/net8.0-windows/clip2load.assets.cache deleted file mode 100644 index deec356..0000000 Binary files a/obj/Release/net8.0-windows/clip2load.assets.cache and /dev/null differ diff --git a/obj/Release/net8.0-windows/clip2load.clip2load.resources b/obj/Release/net8.0-windows/clip2load.clip2load.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/obj/Release/net8.0-windows/clip2load.clip2load.resources and /dev/null differ diff --git a/obj/Release/net8.0-windows/clip2load.csproj.BuildWithSkipAnalyzers b/obj/Release/net8.0-windows/clip2load.csproj.BuildWithSkipAnalyzers deleted file mode 100644 index e69de29..0000000 diff --git a/obj/Release/net8.0-windows/clip2load.csproj.CoreCompileInputs.cache b/obj/Release/net8.0-windows/clip2load.csproj.CoreCompileInputs.cache deleted file mode 100644 index ec213de..0000000 --- a/obj/Release/net8.0-windows/clip2load.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -6f8a8c18c66a9458ea9172daafa103cb22ded9dc1950ecda38f92cc1611d12f6 diff --git a/obj/Release/net8.0-windows/clip2load.csproj.FileListAbsolute.txt b/obj/Release/net8.0-windows/clip2load.csproj.FileListAbsolute.txt deleted file mode 100644 index 7d6acb5..0000000 --- a/obj/Release/net8.0-windows/clip2load.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,16 +0,0 @@ -C:\Users\Avenzey\Documents\clip2load\bin\Release\net8.0-windows\clip2load.exe -C:\Users\Avenzey\Documents\clip2load\bin\Release\net8.0-windows\clip2load.deps.json -C:\Users\Avenzey\Documents\clip2load\bin\Release\net8.0-windows\clip2load.runtimeconfig.json -C:\Users\Avenzey\Documents\clip2load\bin\Release\net8.0-windows\clip2load.dll -C:\Users\Avenzey\Documents\clip2load\bin\Release\net8.0-windows\clip2load.pdb -C:\Users\Avenzey\Documents\clip2load\obj\Release\net8.0-windows\clip2load.clip2load.resources -C:\Users\Avenzey\Documents\clip2load\obj\Release\net8.0-windows\clip2load.csproj.GenerateResource.cache -C:\Users\Avenzey\Documents\clip2load\obj\Release\net8.0-windows\clip2load.GeneratedMSBuildEditorConfig.editorconfig -C:\Users\Avenzey\Documents\clip2load\obj\Release\net8.0-windows\clip2load.AssemblyInfoInputs.cache -C:\Users\Avenzey\Documents\clip2load\obj\Release\net8.0-windows\clip2load.AssemblyInfo.cs -C:\Users\Avenzey\Documents\clip2load\obj\Release\net8.0-windows\clip2load.csproj.CoreCompileInputs.cache -C:\Users\Avenzey\Documents\clip2load\obj\Release\net8.0-windows\clip2load.dll -C:\Users\Avenzey\Documents\clip2load\obj\Release\net8.0-windows\refint\clip2load.dll -C:\Users\Avenzey\Documents\clip2load\obj\Release\net8.0-windows\clip2load.pdb -C:\Users\Avenzey\Documents\clip2load\obj\Release\net8.0-windows\clip2load.genruntimeconfig.cache -C:\Users\Avenzey\Documents\clip2load\obj\Release\net8.0-windows\ref\clip2load.dll diff --git a/obj/Release/net8.0-windows/clip2load.csproj.GenerateResource.cache b/obj/Release/net8.0-windows/clip2load.csproj.GenerateResource.cache deleted file mode 100644 index ddab1cd..0000000 Binary files a/obj/Release/net8.0-windows/clip2load.csproj.GenerateResource.cache and /dev/null differ diff --git a/obj/Release/net8.0-windows/clip2load.designer.deps.json b/obj/Release/net8.0-windows/clip2load.designer.deps.json deleted file mode 100644 index 8599efd..0000000 --- a/obj/Release/net8.0-windows/clip2load.designer.deps.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "runtimeTarget": { - "name": ".NETCoreApp,Version=v8.0", - "signature": "" - }, - "compilationOptions": {}, - "targets": { - ".NETCoreApp,Version=v8.0": {} - }, - "libraries": {} -} \ No newline at end of file diff --git a/obj/Release/net8.0-windows/clip2load.designer.runtimeconfig.json b/obj/Release/net8.0-windows/clip2load.designer.runtimeconfig.json deleted file mode 100644 index bfe0728..0000000 --- a/obj/Release/net8.0-windows/clip2load.designer.runtimeconfig.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "net8.0", - "frameworks": [ - { - "name": "Microsoft.NETCore.App", - "version": "8.0.0" - }, - { - "name": "Microsoft.WindowsDesktop.App", - "version": "8.0.0" - } - ], - "additionalProbingPaths": [ - "C:\\Users\\Avenzey\\.dotnet\\store\\|arch|\\|tfm|", - "C:\\Users\\Avenzey\\.nuget\\packages", - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configProperties": { - "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, - "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true, - "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false, - "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true - } - } -} \ No newline at end of file diff --git a/obj/Release/net8.0-windows/clip2load.dll b/obj/Release/net8.0-windows/clip2load.dll deleted file mode 100644 index c85a71d..0000000 Binary files a/obj/Release/net8.0-windows/clip2load.dll and /dev/null differ diff --git a/obj/Release/net8.0-windows/clip2load.genruntimeconfig.cache b/obj/Release/net8.0-windows/clip2load.genruntimeconfig.cache deleted file mode 100644 index b66d743..0000000 --- a/obj/Release/net8.0-windows/clip2load.genruntimeconfig.cache +++ /dev/null @@ -1 +0,0 @@ -62982056ca9f11afda32dee3bf5e8a30467e4c016ef987329ffdac0f49f3fb34 diff --git a/obj/Release/net8.0-windows/clip2load.pdb b/obj/Release/net8.0-windows/clip2load.pdb deleted file mode 100644 index 8b4e0df..0000000 Binary files a/obj/Release/net8.0-windows/clip2load.pdb and /dev/null differ diff --git a/obj/Release/net8.0-windows/ref/clip2load.dll b/obj/Release/net8.0-windows/ref/clip2load.dll deleted file mode 100644 index e3a5edf..0000000 Binary files a/obj/Release/net8.0-windows/ref/clip2load.dll and /dev/null differ diff --git a/obj/Release/net8.0-windows/refint/clip2load.dll b/obj/Release/net8.0-windows/refint/clip2load.dll deleted file mode 100644 index e3a5edf..0000000 Binary files a/obj/Release/net8.0-windows/refint/clip2load.dll and /dev/null differ diff --git a/obj/clip2load.csproj.nuget.dgspec.json b/obj/clip2load.csproj.nuget.dgspec.json deleted file mode 100644 index 0baa7d9..0000000 --- a/obj/clip2load.csproj.nuget.dgspec.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "format": 1, - "restore": { - "C:\\Users\\Avenzey\\Documents\\Frostcloud\\clip2load-repository\\clip2load.csproj": {} - }, - "projects": { - "C:\\Users\\Avenzey\\Documents\\Frostcloud\\clip2load-repository\\clip2load.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\Users\\Avenzey\\Documents\\Frostcloud\\clip2load-repository\\clip2load.csproj", - "projectName": "clip2load", - "projectPath": "C:\\Users\\Avenzey\\Documents\\Frostcloud\\clip2load-repository\\clip2load.csproj", - "packagesPath": "C:\\Users\\Avenzey\\.nuget\\packages\\", - "outputPath": "C:\\Users\\Avenzey\\Documents\\Frostcloud\\clip2load-repository\\obj\\", - "projectStyle": "PackageReference", - "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configFilePaths": [ - "C:\\Users\\Avenzey\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net8.0-windows" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "C:\\Program Files\\dotnet\\library-packs": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net8.0-windows7.0": { - "targetAlias": "net8.0-windows", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - }, - "restoreAuditProperties": { - "enableAudit": "true", - "auditLevel": "low", - "auditMode": "direct" - }, - "SdkAnalysisLevel": "9.0.200" - }, - "frameworks": { - "net8.0-windows7.0": { - "targetAlias": "net8.0-windows", - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - }, - "Microsoft.WindowsDesktop.App.WindowsForms": { - "privateAssets": "none" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.203/PortableRuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/obj/clip2load.csproj.nuget.g.props b/obj/clip2load.csproj.nuget.g.props deleted file mode 100644 index 40f46c4..0000000 --- a/obj/clip2load.csproj.nuget.g.props +++ /dev/null @@ -1,16 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - $(UserProfile)\.nuget\packages\ - C:\Users\Avenzey\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages - PackageReference - 6.13.2 - - - - - - \ No newline at end of file diff --git a/obj/clip2load.csproj.nuget.g.targets b/obj/clip2load.csproj.nuget.g.targets deleted file mode 100644 index 3dc06ef..0000000 --- a/obj/clip2load.csproj.nuget.g.targets +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/obj/project.assets.json b/obj/project.assets.json deleted file mode 100644 index 9463bda..0000000 --- a/obj/project.assets.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "version": 3, - "targets": { - "net8.0-windows7.0": {} - }, - "libraries": {}, - "projectFileDependencyGroups": { - "net8.0-windows7.0": [] - }, - "packageFolders": { - "C:\\Users\\Avenzey\\.nuget\\packages\\": {}, - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} - }, - "project": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\Users\\Avenzey\\Documents\\Frostcloud\\clip2load-repository\\clip2load.csproj", - "projectName": "clip2load", - "projectPath": "C:\\Users\\Avenzey\\Documents\\Frostcloud\\clip2load-repository\\clip2load.csproj", - "packagesPath": "C:\\Users\\Avenzey\\.nuget\\packages\\", - "outputPath": "C:\\Users\\Avenzey\\Documents\\Frostcloud\\clip2load-repository\\obj\\", - "projectStyle": "PackageReference", - "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" - ], - "configFilePaths": [ - "C:\\Users\\Avenzey\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net8.0-windows" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "C:\\Program Files\\dotnet\\library-packs": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net8.0-windows7.0": { - "targetAlias": "net8.0-windows", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - }, - "restoreAuditProperties": { - "enableAudit": "true", - "auditLevel": "low", - "auditMode": "direct" - }, - "SdkAnalysisLevel": "9.0.200" - }, - "frameworks": { - "net8.0-windows7.0": { - "targetAlias": "net8.0-windows", - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - }, - "Microsoft.WindowsDesktop.App.WindowsForms": { - "privateAssets": "none" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.203/PortableRuntimeIdentifierGraph.json" - } - } - } -} \ No newline at end of file diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache deleted file mode 100644 index af0a462..0000000 --- a/obj/project.nuget.cache +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "fTKwtg8oCbg=", - "success": true, - "projectFilePath": "C:\\Users\\Avenzey\\Documents\\Frostcloud\\clip2load-repository\\clip2load.csproj", - "expectedPackageFiles": [], - "logs": [] -} \ No newline at end of file