You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error when I start auth.standalone.exe:
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for auth.Config ---> System.Configuration.ConfigurationErrorsException: Type 'auth.Config, auth' not found.
at System.Configuration.InternalConfigurationHost.GetConfigType (System.String typeName, Boolean throwOnError) [0x00000] in :0
at System.Configuration.ConfigInfo.CreateInstance () [0x00000] in :0
at System.Configuration.SectionInfo.CreateInstance () [0x00000] in :0
at System.Configuration.Configuration.GetSectionInstance (System.Configuration.SectionInfo config, Boolean createDefaultInstance) [0x00000] in :0
at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x00000] in :0
at System.Configuration.Configuration.GetSection (System.String path) [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0
at auth.Config..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at auth.Program.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for auth.Config ---> System.Configuration.ConfigurationErrorsException: Type 'auth.Config, auth' not found.
at System.Configuration.InternalConfigurationHost.GetConfigType (System.String typeName, Boolean throwOnError) [0x00000] in :0
at System.Configuration.ConfigInfo.CreateInstance () [0x00000] in :0
at System.Configuration.SectionInfo.CreateInstance () [0x00000] in :0
at System.Configuration.Configuration.GetSectionInstance (System.Configuration.SectionInfo config, Boolean createDefaultInstance) [0x00000] in :0
at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x00000] in :0
at System.Configuration.Configuration.GetSection (System.String path) [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0
at auth.Config..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at auth.Program.Main (System.String[] args) [0x00000] in :0
for example, I have the following App.config
(main assembly is auth.exe),
after I merge some DLL into it like
I'm getting the following error when I start auth.standalone.exe:
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for auth.Config ---> System.Configuration.ConfigurationErrorsException: Type 'auth.Config, auth' not found.
at System.Configuration.InternalConfigurationHost.GetConfigType (System.String typeName, Boolean throwOnError) [0x00000] in :0
at System.Configuration.ConfigInfo.CreateInstance () [0x00000] in :0
at System.Configuration.SectionInfo.CreateInstance () [0x00000] in :0
at System.Configuration.Configuration.GetSectionInstance (System.Configuration.SectionInfo config, Boolean createDefaultInstance) [0x00000] in :0
at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x00000] in :0
at System.Configuration.Configuration.GetSection (System.String path) [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0
at auth.Config..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at auth.Program.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for auth.Config ---> System.Configuration.ConfigurationErrorsException: Type 'auth.Config, auth' not found.
at System.Configuration.InternalConfigurationHost.GetConfigType (System.String typeName, Boolean throwOnError) [0x00000] in :0
at System.Configuration.ConfigInfo.CreateInstance () [0x00000] in :0
at System.Configuration.SectionInfo.CreateInstance () [0x00000] in :0
at System.Configuration.Configuration.GetSectionInstance (System.Configuration.SectionInfo config, Boolean createDefaultInstance) [0x00000] in :0
at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x00000] in :0
at System.Configuration.Configuration.GetSection (System.String path) [0x00000] in :0
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0
at auth.Config..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at auth.Program.Main (System.String[] args) [0x00000] in :0
the fix is obvious, I have to rename
to
can il-repack do such magic ?
The text was updated successfully, but these errors were encountered: