I started to implamenet first sample on quartz.net 2.0.1 but it gives an error.
I created an asp.net web aplication called QuartzSample
my simple code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Quartz;
namespace QuartzSample
{
public class Quartz : IJob
{
public void Execute(JobExecutionContext context)
{
SendMail();
}
private void SendMail()
{
// ...
}
}
}
Error :
The type or namespace name 'JobExecutionContext' could not be found (are you missing a using directive or an assembly reference?)