Closed jamesholcomb closed 10 years ago
Executing this code in my Configuration(IAppBuilder app)
Configuration(IAppBuilder app)
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile
returns
C:\Program Files\nodejs\node.exe.config
I could override where the ConfigurationManager looks for my config file, but I'm wondering if it's possible for the middleware to default this based on the value in the input assemblyFile? For example:
assemblyFile
owin({ assemblyFile: 'c:\\dist\\MyAssembly.dll' });
would yield
c:\dist\MyAssembly.dll.config
I believe this would require support in Edge, and there's a similar issue/request in https://github.com/tjanczuk/edge/issues/131
@chriseldredge answered to the question
Executing this code in my
Configuration(IAppBuilder app)
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile
returns
C:\Program Files\nodejs\node.exe.config
I could override where the ConfigurationManager looks for my config file, but I'm wondering if it's possible for the middleware to default this based on the value in the input
assemblyFile
? For example:would yield
c:\dist\MyAssembly.dll.config