xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.64k stars 1.88k forks source link

VS 17.5.5 - SignTool Error: The /p option requires the /f option #15750

Closed vsfeedback closed 1 year ago

vsfeedback commented 1 year ago

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work] Since a few versions ago, UWP publishing started failing for me with this error while trying to publish a package. There was no configuration changes to this Xamarin Forms projects and all nugets are totally up to date.

I have another machine with 17.4.2 that I specifically don't update because of this issue. So every time I release UWP on that machine, but today decided to reach out for help. :)


Original Comments

Feedback Bot on 5/5/2023, 07:15 PM:

(private comment, text removed)


Original Solutions

(no solutions)

LumberCoder commented 1 year ago

I have the same issue with our Xamarin Forms uwp app. the UWP nuget version is latest stable 6.2.14 Xamarin Forms nuget version 5.0.0.2545

jfversluis commented 1 year ago

I highly doubt that this has something to do with Xamarin.Forms and the vsfeedback portal was the right place. But since we are here, let's see if we can trace what might be happening here. Do you have some more information? How are you publishing? What commands and options are you using and what is the output here?

LumberCoder commented 1 year ago

I used Publish -> create app packages on the UWP app, selected sideloading as my distribution method and chose my signing method (an existing certificate). On the Select and configure packages page:

You are probably right that this isn't a xamarin forms issue, but this was the only report of this issue/error message that I could find online, so I thought I'd contribute

EmilAlipiev commented 1 year ago

it is for sure VS2022 issue and related to this one https://developercommunity.visualstudio.com/t/-SignTool-Error:-The-p-option-requires-/10307294

jfversluis commented 1 year ago

Thanks @EmilAlipiev ! Looks like that issue is still open and even says a fix is pending release. Seems we're done here on this side.