I know there are many tools. I want to find out a good tool to show me what assembly is missing. I encountered an exception saying that one of the dependency assembly might be missing when I tried to run a .NET app.
UPDATE
I want to test it on live server. Thus, ideally, I can run it without changes to the server. I can install application on the server.
Thanks in advance.
The assembly is the smallest versionable unit in the common language runtime. All types and resources in the same assembly are versioned as a unit. The assembly manifest describes the version dependencies you specify for any dependent assemblies.
You can view the dependent components from the Solutions area of Power Apps. Sign in to Power Apps and select Solutions from the left navigation. Open the solution you want, select the component you want, on the command bar select ..., and then select Show dependencies.
Diamond dependenciesIt's a common situation for a . NET project to have multiple versions of a package in its dependency tree. For example, an app depends on two NuGet packages, each of which depends on different versions of the same package. A diamond dependency now exists in the app's dependency graph.
To check for runtime binding errors, one simple and efficient way is to turn on Fusion log (just change HKLM\Software\Microsoft\Fusion\ForceLog
to 1 in the registry). This will allow you to check the detailed logs on the error in the Exception.FusionLog
property and also examine details via the Assembly Binding Log Viewer.
Scott Hanselman has a good article on the point.
I once used Dependeny Walker, specifically for .NET is the Assembly Depenency Analyser
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With