Functions fails to enable Aspire Orchestration unless AppHost SDK is in local cache #6622
Open
1 task done
Labels
Milestone
Is there an existing issue for this?
Describe the bug
When creating a new Azure Functions project and using 'Enlist in Aspire Orchestration' -- it will fail if the AppHost SDK package has never been used before.
Expected Behavior
Creating an Azure Function project with orchestration should work.
Steps To Reproduce
Clear nuget cache (
dotnet nuget locals all -c
)File...New Azure Function
Check "Enlist in orchestration" checkbox
Fail with (this shows preview 1, but could be rc1 depending on template versions installed):
[Workaround]
Create an Aspire app with the apphost sdk on the machine -- this will force a restore and cache the package
the above flow should now work
Exceptions (if any)
No response
.NET Version info
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: