Forum Discussion
Mike_Yeager
Oct 28, 2021Copper Contributor
Windows Application Packaging Project - cannot select code signing certificate
Visual Studio 2019 16.11.5. WPF project .NET Framework 4.8. I can deploy via ClickOnce with a code signing certificate I purchased. When I add a Windows Application Packaging Project to my solution t...
Mike_Yeager
Jan 27, 2022Copper Contributor
itoinbgb Unfortunately no updates from Microsoft. It does work if you run the signing tools manually, but not through VS.
itoinbgb
Jan 28, 2022Copper Contributor
Mike_Yeager I am using signtool as a workaround for msix bundles (appinstaller format), like this:
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe" sign /fd SHA256 /tr http://ts.ssl.com /td sha256 /a /f "path_toCertificate\certificate.pfx" /p ******** "PathToPackage\Package.msixbundle"
This works fine for msixbundle, and for individual msix packages, I am using MSIX Packaging Tool:
I do hope this gets resolved eventually though, because this adds an additional step in the build process. Probably should buy another certificate from a CA that includes Basic Constraints.