guryanovev / CrystalQuartz

pluggable UI for Quartz.NET
MIT License
1k stars 312 forks source link

Method not Found - Quartz.SchedulerMetaData Quartz.IScheduler.GetMetaData() #42

Closed victorperez2911 closed 6 years ago

victorperez2911 commented 6 years ago

Hi

When setting up the CrystalQuartz nuget in a Console application (Owin), the generated page returns error when loading.

image

I am using the latest version (3.x) of Quartz.Net.

Is there anything I can do to solve it?

image

beckjin commented 6 years ago

CrystalQuartz does not support the version of Quartz 3 and above.

imapolaris commented 6 years ago

I had the same issue, thx @beckjin

guryanovev commented 6 years ago

Please try the latest version

Install-Package CrystalQuartz.Owin -Version 6.1.0.8-beta

Make sure to check "Include pre-release" if you use VS UI instead of console.

rodneykendall commented 6 years ago

To use the pre-release version, what is a proper parameter to the UseCrystalQuartz extension method? Apparently passing an IScheduler is no longer valid?

guryanovev commented 6 years ago

@rodneykendall yes, please call the method like this:

app.UseCrystalQuartz(() => scheduler);

See this for details: https://github.com/guryanovev/CrystalQuartz/wiki/Migration-to-v6