Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConfigurationManager and path to app config #2

Closed
jamesholcomb opened this issue Mar 7, 2014 · 2 comments
Closed

ConfigurationManager and path to app config #2

jamesholcomb opened this issue Mar 7, 2014 · 2 comments

Comments

@jamesholcomb
Copy link

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:

owin({
    assemblyFile: 'c:\\dist\\MyAssembly.dll'
});

would yield

c:\dist\MyAssembly.dll.config

@chriseldredge
Copy link

I believe this would require support in Edge, and there's a similar issue/request in tjanczuk/edge#131

@bbaia
Copy link
Owner

bbaia commented May 3, 2014

@chriseldredge answered to the question

@bbaia bbaia closed this as completed May 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants