An IIS secure setting was detected while packaging/publishing. An encryption password is required to proceed. In Visual Studio, ...

An IIS secure setting was detected while packaging/publishing. An encryption password is required to proceed.
In Visual Studio, the password can be entered in the project's Package/Publish property page.
In team build or command line, password can be provided by setting MsBuild $(DeployEncryptKey) property.
Error details: