-
Notifications
You must be signed in to change notification settings - Fork 106
Description
Is your feature request related to a problem? Please describe.
ClickOnce Signing fails on "Sequence contains more than one matching element".
Describe the solution you'd like
Skip signing files that are not explicitly passed to the signer when -rc false exist.
I want to sign only the .application, .manifest and .exe only and skip all the 3rd party dll's.
Describe alternatives you've considered
i haven't.
Additional context
0.9.1-beta.25379.1+ba6e717abf74a693f0f9c5e891c0e3ef624956b3
this happens since there are files with the same name in different directories like this one below.
win-x64\native\WebView2Loader.dll succeeded.
fail: Sign.Core.ISigner[0]
Sequence contains more than one matching element
System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable1 source, Func2 predicate, Boolean& found)
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, Func2 predicate)
at Sign.Core.ClickOnceSigner.<>c__DisplayClass9_0.<b__0>d.MoveNext() in /_/src/Sign.Core/DataFormatSigners/ClickOnceSigner.cs:line 130