Syystem.ComponentModel.Composition

sukeerthi T 1 Reputation point
2021-05-17T04:52:56.573+00:00

Hi,
I am reffering the latest version of .Net 4.7.2 System.ComponentModel.Composition.dll in my project from C:/Programfiles(X86) but my project is automatically taking the System.Componentodel.Composition from C:/Windows which contains the .Net version 4.0.TCould any one help me how to change the version of this dll .

Developer technologies | .NET | .NET Runtime
{count} votes

1 answer

Sort by: Most helpful
  1. Xingyu Zhao-MSFT 5,381 Reputation points
    2021-05-18T09:17:21.437+00:00

    Hi @sukeerthi T ,
    What's the version of target framework in your project?
    Under 'References' logo, you can remove your current 'System.ComponentModel.Composition.dll '
    97446-1.png
    Then right click 'References' -> Add Reference... -> Browse.. -> choose your 'System.ComponentModel.Composition.dll' and add it.

    Best Regards,
    Xingyu Zhao
    *
    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.

    0 comments No comments

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.