Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build when referencing CronScheduler.AspNetCore in 3.0 #25

Closed
hallidev opened this issue Sep 27, 2019 · 5 comments
Closed

Can't build when referencing CronScheduler.AspNetCore in 3.0 #25

hallidev opened this issue Sep 27, 2019 · 5 comments

Comments

@hallidev
Copy link

The following dependency fails to resolve using the last NetCoreApp 3.0:

Microsoft.AspNetCore.Hosting (>= 3.0.0-preview4-19123-01)

Full error:

Severity Code Description Project File Line Suppression State
Error NU1102 Unable to find package Microsoft.AspNetCore.Hosting with version (>= 3.0.0-preview4-19123-01)

  • Found 29 version(s) in nuget.org [ Nearest version: 2.2.7 ]
  • Found 0 version(s) in Microsoft Visual Studio Offline Packages
@vankampenp
Copy link

The dependencies are
"CronScheduler.AspNetCore/1.1.2": {
"type": "package",
"dependencies": {
"Cronos": "0.7.0",
"Microsoft.AspNetCore.Hosting": "3.0.0-preview4-19123-01",
"Microsoft.Extensions.DependencyInjection": "3.0.0-preview8.19405.4",
"Microsoft.Extensions.Hosting.Abstractions": "3.0.0-preview8.19405.4",
"Microsoft.Extensions.Options.ConfigurationExtensions": "3.0.0-preview8.19405.4"
},
"compile": {
"lib/netcoreapp3.0/CronScheduler.AspNetCore.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/CronScheduler.AspNetCore.dll": {}
}
}

All packages need to be updated to their 3.0 version.
In StartupJobExtensions, the IWebHost reference gives an error. I commented it out in my local version, as it does not seem to be used anyway.

@vankampenp
Copy link

No description provided.

@kdcllc
Copy link
Owner

kdcllc commented Oct 1, 2019

@tomkerkhove @vankampenp I released 2.0.0 version with breaking changes issue #27

@kdcllc kdcllc closed this as completed Oct 1, 2019
@tomkerkhove
Copy link
Contributor

Thank you for fixing this so quickly - It worked like a charm, thanks!

@hallidev
Copy link
Author

hallidev commented Oct 2, 2019

Much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants