0

I'm running FunctionApp v4(Azure) and ServiceBusTrigger binding and blob binding, but its not fired, messages are not read from subscription. The app is running ok.

Im running functionapps v3 without any problems, the code is copied and packagereferences is updated. When I run locally, everything works fine.

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <AzureFunctionsVersion>v4</AzureFunctionsVersion>
    <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>
    <!-- if this is not set, Microsoft optimizes away necessary assemblies for dependency injection and authentication-->
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.ServiceBus" Version="5.8.0" />
    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="5.0.1" />
    <PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.1.3" />
    <PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
myrknu
  • 1
  • Are you getting any (error) messages? What does the code look like? Which are these assemblies you state are being optimized away by Microsoft? There might be an issue there... Please try to provide a [mcve]. – rickvdbosch Feb 01 '23 at 13:23

0 Answers0