Context:
I have been working lately on a tool that perform analysis on a given binary(resulting assembly from compilation process). the objective of the analysis is to alert developer about missing dependencies that will be used at runtime.
Using reflection, I am able to get the needed dependencies, for .NET Framework i am also reading .config
files to get binding redirection and take them into account.
My questions are:
Is there any support for binding redirection or similar concept in .NET Core ? If yes is there any alternative to that ? I know that there is .deps
file but i think it's not meant to be manually modified?
N.B. I have tried to modify .deps
file manually to redirect Newtonsoft.Json to a specific version and it always fails to found the dependency, i found that somehow strange because CoreCLR parses the .deps
file to get the dependencies as mentioned here.
I have seen this questions but without no specific answer for .NET Core
Aucun commentaire:
Enregistrer un commentaire