diff --git a/Builders/WindowsBuilder.cs b/Builders/WindowsBuilder.cs index 94508e7..37bfbce 100644 --- a/Builders/WindowsBuilder.cs +++ b/Builders/WindowsBuilder.cs @@ -34,7 +34,7 @@ public override Uploader CreateUploader() string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".nuget", "packages", "microsoft.trusted.signing.client"); const string dll_name = "Azure.CodeSigning.Dlib.dll"; - string? dllPath = Directory.GetFiles(path, dll_name, SearchOption.AllDirectories).LastOrDefault(p => p.Contains("x64")); + string? dllPath = Directory.GetFiles(path, dll_name, SearchOption.AllDirectories).LastOrDefault(p => p.Contains("x64") && p.Contains("1.0.53")); if (dllPath == null) Logger.Error("Could not find path for Dlib.dll");