-
Notifications
You must be signed in to change notification settings - Fork 167
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
How to turn off Asp.Net Core Integration on Isolated runtime on v4 with .NET 8 #2594
Comments
If you choose not to use ASP.NET Core integration, remove the package reference to If this package is referenced in your dotnet-isolated function app, you should use |
Thanks let me try that |
Yes. it worked, closing this issue, thanks. But I think it should be a more straightforward configuration than removing a project reference. Also I couldn't find this in any docs, that also needs an update |
Description
I'm trying to use the default template created by vs code on Mac. this is the code in my Program.cs
With the above code, it throws the following error:
I understand this is because its trying to build an Asp.Net Core based function, but how to turn that behavior off?
Steps to reproduce
Use the default template provided by vs code for HTTP Trigger functions on .NET 8 isolated runtime. Update the program.cs code as mentioned above
The text was updated successfully, but these errors were encountered: