Azure / azure-functions-dapr-extension

Extension for interacting with Dapr APIs from an Azure Function
MIT License
95 stars 33 forks source link

Unable to find package Microsoft.Azure.WebJobs.Extensions.Dapr with version (>= 99.99.99) #151

Closed Phiph closed 9 months ago

Phiph commented 9 months ago

Hi Team,

I'm just doing an experiment with getting Dapr running with a function app Pub/Sub. I don't think Tye supports function apps + Dapr yet, but that's for another day!

When I use version "0.16.0-preview01" my build fails with the below output.

If you want to have a look at what I'm experimenting with the source code is here:

https://github.com/Phiph/dapr-azure-functions

I am building on MacOs 13.6 M2 arm64

Here is the build output for my project:

Build with surface heuristics started at 22:26:43
Use build tool: /usr/local/share/dotnet/sdk/7.0.401/MSBuild.dll
CONSOLE: MSBuild version 17.7.3+8ec440e68 for .NET
CONSOLE: Build started 22/09/2023 22:26:43.
CONSOLE: Project "/var/folders/3v/6jc532m15bq0fjdyx1w379c40000gn/T/Lecihyx.proj" on node 1 (default targets).
CONSOLE: ControllerTarget:
CONSOLE:   Run controller from /Applications/DevTools/Rider.app/Contents/lib/ReSharperHost/JetBrains.Platform.MsBuildTask.v17.dll
0>------- Started building project: FunctionApp
/usr/local/share/dotnet/dotnet exec "/usr/local/share/dotnet/sdk/7.0.401/Roslyn/bincore/csc.dll" /noconfig /unsafe- /checked- /nowarn:1701,1702,1701,1702 /fullpaths /nostdlib+ /errorreport:prompt /warn:7 /define:TRACE;DEBUG;NET;NET7_0;NETCOREAPP;NET5_0_OR_GREATER;NET6_0_OR_GREATER;NET7_0_OR_GREATER;NETCOREAPP1_0_OR_GREATER;NETCOREAPP1_1_OR_GREATER;NETCOREAPP2_0_OR_GREATER;NETCOREAPP2_1_OR_GREATER;NETCOREAPP2_2_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER /highentropyva+ /nullable:enable /reference:/Users/phiph/.nuget/packages/azure.core/1.10.0/lib/net5.0/Azure.Core.dll /reference:/Users/phiph/.nuget/packages/google.protobuf/3.23.3/lib/net5.0/Google.Protobuf.dll /reference:/Users/phiph/.nuget/packages/grpc.core.api/2.55.0/lib/netstandard2.1/Grpc.Core.Api.dll /reference:/Users/phiph/.nuget/packages/grpc.net.client/2.55.0/lib/net7.0/Grpc.Net.Client.dll /reference:/Users/phiph/.nuget/packages/grpc.net.clientfactory/2.55.0/lib/net7.0/Grpc.Net.ClientFactory.dll /reference:/Users/phiph/.nuget/packages/grpc.net.common/2.55.0/lib/net7.0/Grpc.Net.Common.dll /reference:/Users/phiph/.nuget/packages/microsoft.azure.functions.extensions.dapr.core/0.16.0-preview01/lib/netstandard2.0/Microsoft.Azure.Functions.Extensions.Dapr.Core.dll /reference:/Users/phiph/.nuget/packages/microsoft.azure.functions.worker.core/1.15.0/lib/net5.0/Microsoft.Azure.Functions.Worker.Core.dll /reference:/Users/phiph/.nuget/packages/microsoft.azure.functions.worker/1.19.0/lib/net7.0/Microsoft.Azure.Functions.Worker.dll /reference:/Users/phiph/.nuget/packages/microsoft.azure.functions.worker.extensions.abstractions/1.3.0/lib/netstandard2.0/Microsoft.Azure.Functions.Worker.Extensions.Abstractions.dll /reference:/Users/phiph/.nuget/packages/microsoft.azure.functions.worker.extensions.dapr/0.16.0-preview01/lib/netstandard2.0/Microsoft.Azure.Functions.Worker.Extensions.Dapr.dll /reference:/Users/phiph/.nuget/packages/microsoft.azure.functions.worker.extensions.http/3.1.0/lib/netstandard2.0/Microsoft.Azure.Functions.Worker.Extensions.Http.dll /reference:/Users/phiph/.nuget/packages/microsoft.azure.functions.worker.grpc/1.14.0/lib/net7.0/Microsoft.Azure.Functions.Worker.Grpc.dll /reference:/Users/phiph/.nuget/packages/microsoft.bcl.asyncinterfaces/1.0.0/ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/Microsoft.CSharp.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.configuration.abstractions/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.configuration.binder/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.Binder.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.configuration.commandline/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.CommandLine.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.configuration/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.configuration.environmentvariables/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.configuration.fileextensions/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.FileExtensions.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.configuration.json/5.0.0/lib/netstandard2.1/Microsoft.Extensions.Configuration.Json.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.configuration.usersecrets/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.dependencyinjection.abstractions/5.0.0/lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.dependencyinjection/5.0.0/lib/net5.0/Microsoft.Extensions.DependencyInjection.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.fileproviders.abstractions/5.0.0/lib/netstandard2.0/Microsoft.Extensions.FileProviders.Abstractions.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.fileproviders.physical/5.0.0/lib/netstandard2.0/Microsoft.Extensions.FileProviders.Physical.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.filesystemglobbing/5.0.0/lib/netstandard2.0/Microsoft.Extensions.FileSystemGlobbing.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.hosting.abstractions/5.0.0/lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.hosting/5.0.0/lib/netstandard2.1/Microsoft.Extensions.Hosting.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.http/3.0.3/lib/netcoreapp3.0/Microsoft.Extensions.Http.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.logging.abstractions/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.logging.configuration/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Logging.Configuration.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.logging.console/5.0.0/lib/netcoreapp3.0/Microsoft.Extensions.Logging.Console.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.logging.debug/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Logging.Debug.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.logging/5.0.0/lib/netstandard2.1/Microsoft.Extensions.Logging.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.logging.eventlog/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Logging.EventLog.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.logging.eventsource/5.0.0/lib/netcoreapp3.0/Microsoft.Extensions.Logging.EventSource.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.options.configurationextensions/5.0.0/lib/netstandard2.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.options/5.0.0/lib/net5.0/Microsoft.Extensions.Options.dll /reference:/Users/phiph/.nuget/packages/microsoft.extensions.primitives/5.0.0/lib/netcoreapp3.0/Microsoft.Extensions.Primitives.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/Microsoft.VisualBasic.Core.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/Microsoft.VisualBasic.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/Microsoft.Win32.Primitives.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/Microsoft.Win32.Registry.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/mscorlib.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/netstandard.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.AppContext.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Buffers.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Collections.Concurrent.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Collections.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Collections.Immutable.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Collections.NonGeneric.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Collections.Specialized.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.ComponentModel.Annotations.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.ComponentModel.DataAnnotations.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.ComponentModel.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.ComponentModel.EventBasedAsync.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.ComponentModel.Primitives.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.ComponentModel.TypeConverter.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Configuration.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Console.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Core.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Data.Common.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Data.DataSetExtensions.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Data.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Diagnostics.Contracts.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Diagnostics.Debug.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Diagnostics.DiagnosticSource.dll /reference:/Users/phiph/.nuget/packages/system.diagnostics.eventlog/5.0.0/ref/netstandard2.0/System.Diagnostics.EventLog.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Diagnostics.FileVersionInfo.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Diagnostics.Process.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Diagnostics.StackTrace.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Diagnostics.TextWriterTraceListener.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Diagnostics.Tools.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Diagnostics.TraceSource.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Diagnostics.Tracing.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Drawing.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Drawing.Primitives.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Dynamic.Runtime.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Formats.Asn1.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Formats.Tar.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Globalization.Calendars.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Globalization.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Globalization.Extensions.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.Compression.Brotli.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.Compression.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.Compression.FileSystem.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.Compression.ZipFile.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.FileSystem.AccessControl.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.FileSystem.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.FileSystem.DriveInfo.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.FileSystem.Primitives.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.FileSystem.Watcher.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.IsolatedStorage.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.MemoryMappedFiles.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.Pipes.AccessControl.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.Pipes.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.IO.UnmanagedMemoryStream.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Linq.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Linq.Expressions.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Linq.Parallel.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Linq.Queryable.dll /reference:/Users/phiph/.nuget/packages/system.memory.data/1.0.1/lib/netstandard2.0/System.Memory.Data.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Memory.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.Http.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.Http.Json.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.HttpListener.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.Mail.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.NameResolution.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.NetworkInformation.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.Ping.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.Primitives.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.Quic.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.Requests.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.Security.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.ServicePoint.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.Sockets.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.WebClient.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.WebHeaderCollection.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.WebProxy.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.WebSockets.Client.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Net.WebSockets.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Numerics.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Numerics.Vectors.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.ObjectModel.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Reflection.DispatchProxy.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Reflection.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Reflection.Emit.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Reflection.Emit.ILGeneration.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Reflection.Emit.Lightweight.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Reflection.Extensions.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Reflection.Metadata.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Reflection.Primitives.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Reflection.TypeExtensions.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Resources.Reader.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Resources.ResourceManager.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Resources.Writer.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.CompilerServices.Unsafe.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.CompilerServices.VisualC.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.Extensions.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.Handles.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.InteropServices.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.InteropServices.JavaScript.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.InteropServices.RuntimeInformation.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.Intrinsics.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.Loader.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.Numerics.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.Serialization.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.Serialization.Formatters.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.Serialization.Json.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.Serialization.Primitives.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Runtime.Serialization.Xml.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.AccessControl.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.Claims.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.Cryptography.Algorithms.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.Cryptography.Cng.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.Cryptography.Csp.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.Cryptography.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.Cryptography.Encoding.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.Cryptography.OpenSsl.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.Cryptography.Primitives.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.Cryptography.X509Certificates.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.Principal.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.Principal.Windows.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Security.SecureString.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.ServiceModel.Web.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.ServiceProcess.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Text.Encoding.CodePages.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Text.Encoding.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Text.Encoding.Extensions.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Text.Encodings.Web.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Text.Json.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Text.RegularExpressions.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Threading.Channels.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Threading.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Threading.Overlapped.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Threading.Tasks.Dataflow.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Threading.Tasks.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Threading.Tasks.Extensions.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Threading.Tasks.Parallel.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Threading.Thread.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Threading.ThreadPool.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Threading.Timer.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Transactions.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Transactions.Local.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.ValueTuple.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Web.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Web.HttpUtility.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Windows.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Xml.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Xml.Linq.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Xml.ReaderWriter.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Xml.Serialization.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Xml.XDocument.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Xml.XmlDocument.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Xml.XmlSerializer.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Xml.XPath.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/System.Xml.XPath.XDocument.dll /reference:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/ref/net7.0/WindowsBase.dll /debug+ /debug:portable /filealign:512 /optimize- /out:obj/Debug/net7.0/FunctionApp.dll /refout:obj/Debug/net7.0/refint/FunctionApp.dll /target:exe /warnaserror- /utf8output /deterministic+ /langversion:11.0 /analyzerconfig:obj/Debug/net7.0/FunctionApp.GeneratedMSBuildEditorConfig.editorconfig /analyzerconfig:/usr/local/share/dotnet/sdk/7.0.401/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_default.editorconfig /analyzer:/usr/local/share/dotnet/sdk/7.0.401/Sdks/Microsoft.NET.Sdk/targets/../analyzers/Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll /analyzer:/usr/local/share/dotnet/sdk/7.0.401/Sdks/Microsoft.NET.Sdk/targets/../analyzers/Microsoft.CodeAnalysis.NetAnalyzers.dll /analyzer:/Users/phiph/.nuget/packages/microsoft.azure.functions.worker.sdk.analyzers/1.2.1/analyzers/dotnet/cs/Microsoft.Azure.Functions.Worker.Sdk.Analyzers.dll /analyzer:/Users/phiph/.nuget/packages/microsoft.azure.functions.worker.sdk.generators/1.1.1/analyzers/dotnet/cs/Microsoft.Azure.Functions.Worker.Sdk.Generators.dll /analyzer:/Users/phiph/.nuget/packages/microsoft.azure.functions.worker.sdk.generators/1.1.1/analyzers/dotnet/cs/Microsoft.Bcl.AsyncInterfaces.dll /analyzer:/Users/phiph/.nuget/packages/microsoft.azure.functions.worker.sdk.generators/1.1.1/analyzers/dotnet/cs/System.Text.Encodings.Web.dll /analyzer:/Users/phiph/.nuget/packages/microsoft.azure.functions.worker.sdk.generators/1.1.1/analyzers/dotnet/cs/System.Text.Json.dll /analyzer:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/analyzers/dotnet/cs/Microsoft.Interop.JavaScript.JSImportGenerator.dll /analyzer:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/analyzers/dotnet/cs/Microsoft.Interop.LibraryImportGenerator.dll /analyzer:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/analyzers/dotnet/cs/Microsoft.Interop.SourceGeneration.dll /analyzer:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/analyzers/dotnet/cs/System.Text.Json.SourceGeneration.dll /analyzer:/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref/7.0.11/analyzers/dotnet/cs/System.Text.RegularExpressions.Generator.dll HttpTrigger1.cs PrintTopicMessage.cs Program.cs obj/Debug/net7.0/FunctionApp.GlobalUsings.g.cs "obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs" obj/Debug/net7.0/FunctionApp.AssemblyInfo.cs /warnaserror+:NU1605,SYSLIB0011
FunctionApp -> /Users/phiph/Projects/Access/dapr-azure-functions/src/FunctionApp/bin/Debug/net7.0/FunctionApp.dll
Determining projects to restore...
0>WorkerExtensions.csproj: Error NU1102 : Unable to find package Microsoft.Azure.WebJobs.Extensions.Dapr with version (>= 99.99.99)
  - Found 3 version(s) in nuget.org [ Nearest version: 0.16.0-preview01 ]
  - Found 0 version(s) in /usr/local/share/dotnet/library-packs
Failed to restore /var/folders/3v/6jc532m15bq0fjdyx1w379c40000gn/T/b3sjkhmr.rk5/WorkerExtensions.csproj (in 216 ms).
0>------- Finished building project: FunctionApp. Succeeded: False. Errors: 1. Warnings: 0
Build completed in 00:00:01.093
ASHIQUEMD commented 9 months ago

Hi @Phiph, A work around right now is to build the Dapr extension repo in local which will generate a Microsoft.Azure.WebJobs.Extensions.Dapr.99.99.99.nupkg in a folder path\to\azure-functions-dapr-extension\local-packages.

Edit the ~/.nuget/config/*.config file as shown below.

<packageSources>
    ...
    <add key="nuget.local" value="path\to\azure-functions-dapr-extension\local-packages" />
</packageSources>
Phiph commented 9 months ago

Hey @ASHIQUEMD I think that won't work as the way the Host creates this Dynamic csproj file in the temp directory means that doesn't honour the solutions nuget.conf folder.

Have a look at the PR I've created - I've included some analysis and linked up the issues in the Azure/azure-functions-dotnet-worker repo :)

ASHIQUEMD commented 9 months ago

@Phiph Thank you for the PR, I will have a look at it.

To unblock you immediately without making change to WebJobs library, the steps I mentioned should work for you.

I also faced same issue in my local machine while validating 0.16.0-preview01, this happens only when we use nuget generated in local. Unless we have to debug something, recommendation is to use published nuget package.

image

This is how my nuget.config looked like earlier.

image

After building the Dapr extension project, I modified the nuget.config

image

And build succeeds after that, I hope this helps.

image

Phiph commented 9 months ago

Cheers @ASHIQUEMD I'll give that a go. I agree my PR is a hack and a temporary work around.

I really appreciate you taking the time to prove your method works, I'll give it a go next week. Thank you!

KaiWalter commented 9 months ago

@ASHIQUEMD @rabollin thanks - I also got my .NET Functions working with this workaround - I assume this is not the permantent solution, right?

Phiph commented 9 months ago

Hey @KaiWalter it's been fixed in the upstream package. I've linked the PR to their PR with the fix, it's just awaiting release.

I've asked when it's planned :)

rabollin commented 9 months ago

That is correct, it is fixed in upstream and the final DAPR extension bits are getting deployed to production.

@ASHIQUEMD @rabollin thanks - I also got my .NET Functions working with this workaround - I assume this is not the permanent solution, right?

ASHIQUEMD commented 9 months ago

Closing this issue, it will be fixed as part of this PR

Phiph commented 9 months ago

Cheers @ASHIQUEMD thanks for the tip it worked!

If anyone stumbles across this before the patch, bear in mind you need to change your profile nuget.config, not your project level config :)

MarekLani commented 7 months ago

facing same error with version 0.17

ASHIQUEMD commented 7 months ago

@MarekLani Can you please share the error details?

MarekLani commented 7 months ago

getting very same error as in the title of the issue: Unable to find package Microsoft.Azure.WebJobs.Extensions.Dapr with version (>= 99.99.99), when I build the package myself and instruct nuget to check for local packages, it of course works.

ASHIQUEMD commented 7 months ago

@MarekLani We need to work with Functions team to fix this, for now we have this workaround to unblock us.