I'm trying to get started with Quartz.Net 2.0. A very simple appearing test application is failing with a SchedulerException
Trigger's related Job's name cannot be null
The code is adapted from the Version 2.0 Migration Guide
ISchedulerFactory schedFact = new StdSchedulerFactory();
IScheduler classSched = schedFact.GetScheduler();
classSched.Start();
IJobDetail job = JobBuilder.Create<ClassificationJob>()
.WithIdentity("myJob", "My Group")
.WithDescription("My Description")
.Build();
TimeZoneInfo tzUtc = TimeZoneInfo.Utc;
DateTime startTime;
startTime = DateTime.UtcNow;
ITrigger trigger = TriggerBuilder.Create()
.WithIdentity("myTrigger", "My Group")
.WithDescription("My Description")
.StartAt(startTime)
.WithSimpleSchedule(x => x.WithIntervalInSeconds(10).RepeatForever())
.Build();
classSched.ScheduleJob(trigger); // Exception on this line
Why is this failing?