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.
System:
How to replicate:
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.