Can I publish the StoreKey.pfx of an UWP application

后端 未结 2 1089
既然无缘
既然无缘 2021-02-10 05:59

I have an open source windows store application (UWP). When I associate the application with the store a Package.StoreAssociation.xml and a _St

2条回答
  •  野的像风
    2021-02-10 06:33

    You should not include _StoreKey.pfx file to your public repo. However you can still use AppVeyor CI.

    1.Change your *.csproj file to include this information.

    
        _TemporaryKey.pfx
    
    
        
    
    

    2.Import your _StoreKey.pfx certificate to: store location - Current User, Certificate store - Personal

    3.Add UseTemporarySignCert environment variable with value true to your AppVeyor project.

    As result you will be able to build signed project by your own without _StoreKey.pfx in release mode and publish then to the store. And AppVeyor will work with TemporaryKey.pfx.

提交回复
热议问题