question

SrithariniRadhakrishnan-3026 avatar image
0 Votes"
SrithariniRadhakrishnan-3026 asked SrithariniRadhakrishnan-3026 commented

Dlls that are not referenced are showing up in object browser

I have around 9 dlls with different versions showing up in object browser which i havent referred anywhere in the project. I have searched all the microservice for reference and did search for the entire solution, i found 0 references. Can anyone please let me know if there is any way that i can see where its referenced or if i can remove it from object browser? Thankyou

dotnet-entity-framework
· 6
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.

@SrithariniRadhakrishnan-3026, As usual, we could see all the references in the Project->References. Could you have a try? By the way, what is your current project? You also can see the properties of the dll to know where is the dll.


132351-image.png


0 Votes 0 ·
image.png (26.7 KiB)

IThankyou for the reply, I have a service fabric application, the dlls in yellow are not referenced anywhere in my project, that is i could'nt find this dll under references in any of my microservice

132303-image.png


I have searched one by one , im attaching the overall search here

132268-image.png


0 Votes 0 ·
image.png (38.1 KiB)
image.png (140.1 KiB)
JackJJun-MSFT avatar image JackJJun-MSFT SrithariniRadhakrishnan-3026 ·

@SrithariniRadhakrishnan-3026, some apps will generate some default dlls. If you don't need to use these dlls, you could delete the dlls directly.

0 Votes 0 ·
Show more comments

1 Answer

JackJJun-MSFT avatar image
0 Votes"
JackJJun-MSFT answered SrithariniRadhakrishnan-3026 commented

@SrithariniRadhakrishnan-3026 , Although you see some unused references in the object browser, these dlls comes from your computer instead of your project. Please note that every dll has the default path, like `C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.8`. The Object Browser often shows that the common dlls based on your project. Therefore, I think there is no need to delete the unused dlls If you didn't meet the dll error.


If the response 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
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.

Thankyou very much!

0 Votes 0 ·