When using a third-party dll, I received the following exception:
exePath must be specified if it does not work inside a standalone exe
with the next trace
System.Configuration.ConfigurationManager.OpenExeConfigurationImpl (ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath).
I found that it was looking for app.config, and I provided the details in web.config. My question is: why does the .configuration system distinguish between web.config and app.config? Any thoughts?
Executable:
.NET . , . applicationName.exe.config .
applicationName.exe.config
-/:
. NET- .NET DLL, - . , " ". -, . ? ?
, - , . , web.config.
web.config
web.config - -. , .. ; web.config.
app.config -- - Winforms, WPF, NT Services .. YourApplicationName.exe.config . app.config (, , ).
app.config
YourApplicationName.exe.config
Microsoft - - Microsoft.
, , , .