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

Azure Functions Isolated fails on publish when using RestoreUseStaticGraphEvaluation #2466

Open
A-Katopodis opened this issue Mar 29, 2024 · 1 comment

Comments

@A-Katopodis
Copy link

System:

  • OS: Windows
  • Visual Studio 2022 - 17.9.4

How to replicate:

  • Create an isolated azure functions project using the provided templates
    • .NET 8
    • Use AzureStorageContainer
  • Enable the RestoreUseStaticGraphEvaluation in your project.
  • Create a publish profile to publish to an azure functions in Azure
  • Right click on the project to publish
  • Try to publish

You will encounter XML errors without being able to determine what is wrong even when looking at logs. The issue that the RestoreUseStaticGraphEvaluation is a very useful property for large projects and it is nowhere documented that Azure functions publish behavior is not compatible with this options.

Granted this may be a Visual Studio bug and not related to the Azure function SDK but the information provided on what failed or not is not clear enough.

@bhagyshricompany bhagyshricompany self-assigned this Apr 2, 2024
@bhagyshricompany
Copy link

bhagyshricompany commented Apr 2, 2024

Thanks for reporting will check and update.pls share the func app name ,time stamp etc.

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

No branches or pull requests

2 participants