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

An error occurred during installation in Windows 7 #1073

Open
WendelYu opened this issue Jan 19, 2024 · 1 comment
Open

An error occurred during installation in Windows 7 #1073

WendelYu opened this issue Jan 19, 2024 · 1 comment

Comments

@WendelYu
Copy link

Unhandled exception. System.TypeInitializationException: The type initializer fo
r 'WinSW.Program' threw an exception.
---> System.TypeInitializationException: The type initializer for 'log4net.Core
.LoggerManager' threw an exception.
---> System.TypeInitializationException: The type initializer for 'log4net.Util
.SystemInfo' threw an exception.
---> System.TypeInitializationException: The type initializer for 'System.DateT
ime' threw an exception.
---> System.ArgumentNullException: Value cannot be null. (Parameter 'handle')
at System.ArgumentNullException.Throw(String)
at System.ArgumentNullException.ThrowIfNull(IntPtr, String )
at System.Runtime.InteropServices.NativeLibrary.GetExport(IntPtr, String)
at System.DateTime.GetGetSystemTimeAsFileTimeFnPtr()
at System.DateTime..cctor()
--- End of inner exception stack trace ---
at System.DateTime.get_UtcNow()
at log4net.Util.SystemInfo..cctor()
--- End of inner exception stack trace ---
at log4net.Util.SystemInfo.AssemblyLocationInfo(Assembly myAssembly)
at log4net.Core.LoggerManager.GetVersionInfo()
at log4net.Core.LoggerManager..cctor()
--- End of inner exception stack trace ---
at log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly, String n
ame)
at log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name)
at log4net.LogManager.GetLogger(String name)
at WinSW.Program..cctor()
--- End of inner exception stack trace ---
at WinSW.Program.Main(String[])

@lichangan18356288293
Copy link

mark,同样的问题,正在尝试解决

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

2 participants