Skip to content

Not working when publishing #1010

@Mrgaton

Description

@Mrgaton

Exception:

Unhandled exception. System.TypeInitializationException: The type initializer for 'Microsoft.Win32.TaskScheduler.TaskService' threw an exception.
 ---> System.ArgumentException: Value does not fall within the expected range.
   at Microsoft.Win32.TaskScheduler.V2Interop.ITaskService.Connect(Object serverName, Object user, Object domain, Object password)
   at Microsoft.Win32.TaskScheduler.TaskService.Connect()
   at Microsoft.Win32.TaskScheduler.TaskService..ctor()
   at Microsoft.Win32.TaskScheduler.TaskService.get_Instance()
   at Microsoft.Win32.TaskScheduler.TaskService..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Win32.TaskScheduler.TaskService.GetLibraryVersionFromLocalOS()
   at Microsoft.Win32.TaskScheduler.TaskService.ResetHighestSupportedVersion()
   at Microsoft.Win32.TaskScheduler.TaskService..ctor()
   at Rage.Program.Main(String[] args)

Publish config:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions