Hi @Anuraag Pathak ,
I suggest you can check the not working machine whether it installed supported version of configurations.
For example, VSTO is a plug-in developed based on .NET, so the .NET framework is required. The version of the framework is better to be consistent with the framework used by the VSTO plug-in.
For specific version requirements, you can refer to
https://learn.microsoft.com/en-us/visualstudio/vsto/configuring-a-computer-to-develop-office-solutions?view=vs-2019
Best regards,
Lan Huang
---------------------------------------------------------------------
If the answer is helpful, please click "Accept Answer" and upvote it.
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.