Kirsten
Kirsten

Reputation: 18168

Warning SD0001 Dependency storage1 is stale and does not exist in any other service dependencies profile

My .NET 8 Azure Functions solution builds with the following warning.

Warning SD0001
Dependency storage1 is stale and does not exist in any other service dependencies profile. It either needs to be removed from current profile or added back to serviceDependencies.json.
SBD.Photos.Functions.Isolated C:\Users\kirst\Source\Repos\SBDPhotos_Apps\SBD.Photos.Functions.Isolated\Properties\serviceDependencies.SBDPhotosFunctionsIsolated20250118114609 - Zip Deploy1.json

In the publish screen, Service Dependencies section I see this as an error

publish screen Service Dependencies

I have checked that I can open the storage in Azure Storage Explorer.

I have tried clicking connect, and I get:

Package Restore Failed

I have tried changing the storage from cool to hot.

Upvotes: 0

Views: 18

Answers (1)

Kirsten
Kirsten

Reputation: 18168

Using Nuget Package Manager I found that Azure.Storage.Blobs 12.23.0 was installed as Transiative in some projects. I changed it to Top Level by installing it directly to the project.

Upvotes: 2

Related Questions