Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are the .net core dlls stored on my computer?

Tags:

asp.net-core

I cannot find the dlls. Visual Studio does not tell you where they are stored. I want to load them into .net Reflector.

like image 545
Ian Warburton Avatar asked Sep 28 '17 16:09

Ian Warburton


People also ask

Where are the DLL files located?

Dll's are located all over your PC, they are not just in in one location, they can be found in C:WindowsSystem32, in your Program Files Folder, and many other places... Did your Anti-virus mention ant DLL's in particular?

How to open DLL files in Windows 10?

Open the Windows folder. Inside it you will find a folder named System32. Open the System32 folder. You will be able to see all DLL files of your Windows OS. If you cannot spot the DLL files at first sight, right click on an empty space inside the System32 folder. A small menu will pop up.

What happens when a DLL file is corrupted?

These files are loaded into the memory during booting by the operating system itself. When a DLL files goes missing or becomes corrupted, Windows will fail to load the services dependant on that DLL file.

How do I run a full scan of my DLL files?

Your DLL files are located in C:\Windows\System32. When Windows Defender runs a Full Scan, it includes that directory and so all of your DLLs will be scanned. Here are instructions for running a Full Scan: This will scan your DLL files for any malware infections.


1 Answers

I know this is an old question, but if you're looking for these then check out the following location...

C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App

Under there should be versions of .NET Core, and these are the runtime assemblies you'll need to load in Refelctor to see the source code.

Note - if you use an assembly reference from within Visual Studio (by maybe clicking F12 on a .NET Core datatype or interface), that will show the reference assembly and not the implementation assembly.

As an example, hitting F12 on ControllerBase gives me this...

C:\Program Files\dotnet\packs\Microsoft.AspNetCore.App.Ref\3.1.0\ref\netcoreapp3.1\
    Microsoft.AspNetCore.Mvc.Core.dll

This is not the runtime assembly you need when using Reflector. GitHub is all fair and good for finding source code to one method, but you can't beat Reflector when you want to move between different classes in different files so as to work through an implementation pathway.

Hope this helps!

like image 99
Morgan Skinner Avatar answered Oct 17 '22 04:10

Morgan Skinner