How to use Microsoft.Pex.Framework?

정현 한 20 Reputation points
2023-05-07T16:10:40.4+00:00

I wanted to use Microsoft.Pex.Framework in Visual Studio Enterprise.

But it says Microsoft.Pex is not found with cs0234 error code.

How can i use it?

Developer technologies Visual Studio Other
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2023-05-08T02:24:08.5166667+00:00

    Hello @정현 한,

    Welcome to Microsoft Q&A forum.

    Does it work if you directly add the Microsoft.Pex.Framework.dll assembly file to your project(right-click your project > Add > Project Reference/Reference… > Assemblies(Extensions)/Browse)?

    Normally, the Microsoft.Pex.Framework.dll file is stored in C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\ReferenceAssemblies\v4.5(for VS 2022 Enterprise), and in C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\ReferenceAssemblies\v4.5(for VS 2019 Enterprise).

    Feel free to let us know the result.

    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.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.