Failed to launch test executor process '{0}'. Package {1} registration failed with Error Code: 0x{2:X} and Error Message:{3}. ...

Failed to launch test executor process '{0}'.  Package {1} registration failed with Error Code: 0x{2:X} and Error Message:{3}.
For more details look into Event Viewer under Applications and Services Logs -> Microsoft -> Windows -> AppXDeployment-Server -> Microsoft-Windows-AppXDeploymentServer/Operational.