You must add a digital signature to the OOB public network deployment to automatically update the instance. The following method is available:
1. Open Visual Studio Command Prompt in Visual Studio Tools as an administrator and run the following Command.
Makecert.exe-r-n "CN = wengyuli"-B 01/01/2009-e 12/31/2019-sv c: \ Demo \ CbipSetupKey. pvk c: \ Demo \ CbipSetupKey. cer
Cert2spc.exe c: \ Demo \ CbipSetupKey. cer c: \ Demo \ CbipSetupKey. spc
Pvkimprt-pfx c: \ Demo \ CbipSetupKey. spc c: \ Demo \ CbipSetupKey. pvk
Note: pvkimprt.exe is a certificate export tool. Download from Microsoft Website: elastic.
The cert2spc.exe test tool creates a issuer certificate (SPC) through one or more X.509 certificates ). Cert2spc.exe is only used for testing purposes. A valid SPC can be obtained from a Certificate Authority (such as VeriSign or Thawte.
2. Sign the xap package
Right-click the silverlight Project Properties> Signing> select fron file.
3. generate all the data and publish the WEB.