Thanks for the reply. I solved the error with your suggestion. But I am not getting the same error,
But I am getting different errors:
Detecting Signtool compatibility
Detecting MSIX/APPX incompatible resources
Creating resources.pri file(s)
Failed to create priconfig.xml file.
Error details