Hi @Soumabha Sarkar ,
I tested with the example code and followed this thread How Install MEF Dll With VsPackage. The MEF component loaded and the words highlighted correctly. Here are some suggestions that I suggest you try to check:
- You mentioned that you cannot see the MEF component getting loaded in the module window, if you are using the highlighting text example code, when you position the cursor in one of the occurrences of word, will every occurrence be highlighted?
- Can you confirm that the MEF component itself works well? If the MEF component itself works well, could you try to create a new VSIX- VSPackage project and configure the MEF component to let it install with VSPackage, then run it to confirm that if this newly created project works?
- If the same issue appears on a newly created project, could you please share us some detailed steps about how you create the project, how you set the configurations, and share us some screenshots to check further? Perhaps some steps or configurations are missing.
Sincerely,
Tianyu
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.