Hi @fauzan,
Welcome to Microsoft Q&A!
Does it occur in other reference assemblies?
Please ensure the referenced project is correctly loaded and builds successfully.
You can update your VS2022 to the latest version and manually delete the .vs, bin and obj folders.
Then, rebuild the solution and check it again.
You can also create a new test project and re-add the project reference, then, check if the “Add Fakes Assembly” works.
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.