Pavel Tupitsyn created IGNITE-16788:
---------------------------------------
Summary: .NET: verify-nuget.ps1 fails
Key: IGNITE-16788
URL: https://issues.apache.org/jira/browse/IGNITE-16788
Project: Ignite
Issue Type: Bug
Components: platforms
Affects Versions: 2.13
Reporter: Pavel Tupitsyn
Assignee: Pavel Tupitsyn
Fix For: 2.13
*verify-nuget.ps1* fails with the following error:
{code}
Unhandled Exception: System.TypeInitializationException: The type initializer
for 'NLog.LogManager' threw an exception. ---> System.MissingMethodException:
Method not found: 'System.AppDomainSetup
System.AppDomain.get_SetupInformation()'.
at NLog.Internal.Fakeables.AppDomainWrapper..ctor(AppDomain appDomain)
at NLog.LogFactory.get_CurrentAppDomain()
at NLog.LogFactory..ctor()
at NLog.LogManager..cctor()
--- End of inner exception stack trace ---
at NLog.Internal.ExceptionHelper.MustBeRethrown(Exception exception)
at NLog.Config.Factory`2.ScanTypes(Type[] types, String prefix)
at NLog.Config.ConfigurationItemFactory.RegisterItemsFromAssembly(Assembly
assembly, String itemNamePrefix)
at NLog.Config.ConfigurationItemFactory..ctor(Assembly[] assemblies)
at NLog.Config.ConfigurationItemFactory.BuildDefaultFactory()
at NLog.Config.ConfigurationItemFactory.get_Default()
at NLog.Targets.TargetWithLayout..ctor()
at NLog.Targets.ColoredConsoleTarget..ctor()
at test_proj.Program.InitLoggers() in
/home/pavel/w/ignite/modules/platforms/dotnet/release/test-proj/Program.cs:line
105
at test_proj.Program.MainAsync() in
/home/pavel/w/ignite/modules/platforms/dotnet/release/test-proj/Program.cs:line
44
at test_proj.Program.Main() in
/home/pavel/w/ignite/modules/platforms/dotnet/release/test-proj/Program.cs:line
39
{code}
Additionally, it requires unsupported .NET Core 2.1 SDK via global.json.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)