question

sukeerthiT-8811 avatar image
0 Votes"
sukeerthiT-8811 asked XingyuZhao-MSFT commented

Syystem.ComponentModel.Composition

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 .

dotnet-runtime
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @sukeerthiT-8811 ,
May I know if you have got any chance to check my answer? I am glad to help if you have any other questions.

0 Votes 0 ·

1 Answer

XingyuZhao-MSFT avatar image
0 Votes"
XingyuZhao-MSFT answered

Hi @sukeerthiT-8811 ,
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.



1.png (73.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.