In .net framework you can use AssemblyBinding probing
in app.exe.config and use Post Build Events Command Line
in Visual Studio to move your dll and xml in the custom folder.
In .net core 3.1 additionalProbingPaths
seems doesn't work fine but you can still use Post Build Events Command Line
to move your xml in the custom folder.
Note:
1. AssemblyBinding probing
and additionalProbingPaths
will affect your assembly load dll location.
2. If you don't know Post Build Events Command Line
see the guide line .
See the below issues about probing path.
Additional probing paths for .NET Core 3 migration
donet/sdk issue .
Finally I found nulastudio.NetCoreBeauty library which seems like you want feature.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.