Search code examples
dllappdomainvisual-foxpro

How to pass configuration to AppDomain from Visual FoxPro application


I made COM visible .NET DLL in C# which refers an external DLL and the external DLL reads app.config from current AppDomain. However my DLL is called from Visual FoxPro 9 so it misses content of app.config from my project.

Does Foxpro have something like app.config in .NET? I just need pass configuration to the external library via AppDomain from FoxPro.


Solution

  • VPF creates .exe file. Just create .exe.config file with the same content as dll.config.