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
New Project in Visual Studio uses Microsoft.Azure.WebJobs v1.1.2 #2368
Comments
Hi @KSchlobohm , Apologies for the delay in response. This issue was somehow missed, we are eager to know if you are still facing the same issue, so that we can look into it. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Hi @KSchlobohm ,NuGet package updates brought in breaking changes which is discussed in the git hub issue. It's based on the generic host which is similar to the asp.net host. Here's an example of the new setup Here you can find a GitHub discussion related to that topic. Able to reproduce the issue. I am zipping my reproduced file for further investigation. Need to update the project template to use the latest versions. Below is the error after updating the NuGet package version to the latest version and installing required packages. Severity Code Description Project File Line Suppression StateError NU1202 Package Microsoft.Azure.KeyVault.Core 3.0.5 is not compatible with net45 (.NETFramework,Version=v4.5). Package Microsoft.Azure.KeyVault.Core 3.0.5 supports:
For the other two issues mentioned, I shall update the comments there, please check the comments. |
Any updates on this? The webjob template in VS2019 still adds the deprecated packages, updating packages results in compile error "Type Queuetrigger is not defined" What's the story? @v-anvari ? Thanks for any help on this. |
Repro steps
Expected behavior
The new project should use the HostBuilder() and latest version of the Microsoft.Azure.WebJobs NuGet package.
Actual behavior
The version provided promotes the usage of the deprecated
JobHostConfiguration
class.Known workarounds
I located the expected setup in the extensions sample and supporting documentation in the README.md
The text was updated successfully, but these errors were encountered: