Hi @Ansar Shaikh ,
Welcome to Microsoft Q&A!
Could you share us the complete error message or screenshots? It seems that the ILMerge has been deprecated.
The error code 3 often means "The system cannot find the path specified". Please check if the path is correct in the Post-build event command line.
You can try to clean and rebuild your solution.
Sincerely,
Anna
*
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.