Skip to content

Problems with StorageQueue in 4.0.56-beta4 #155

Description

@jeckyl2010

Hi.

I have just updated from 4.0.45-beta4 to 4.0.56-beta4 and are running into some compiler errors afterwards on a project running .NET Core 3.1.1

The compiler error is

C:\Users\vaxh\.nuget\packages\functionmonkey.compiler\4.0.56-beta.4\build\netstandard1.0\FunctionMonkey.Compiler.targets(29,5): error : Error compiling function: HttpAlteryxJobExecutionEventPost.cs(36,144): error CS0234: The type or namespace name 'CloudQueueMessage' does not exist in the namespace 'Microsoft.WindowsAzure.Storage.Queue' (are you missing an assembly reference?) [C:\Temp\Git\AzureFunction\Novo.Azure.Function.Ada\src\Novo.Azure.Function.Ada.Function\Novo.Azure.Function.Ada.Function.csproj] C:\Users\vaxh\.nuget\packages\functionmonkey.compiler\4.0.56-beta.4\build\netstandard1.0\FunctionMonkey.Compiler.targets(29,5): error : Error compiling function: HttpAlteryxJobExecutionEventPost.cs(208,71): error CS0234: The type or namespace name 'CloudQueueMessage' does not exist in the namespace 'Microsoft.WindowsAzure.Storage.Queue' (are you missing an assembly reference?) [C:\Temp\Git\AzureFunction\Novo.Azure.Function.Ada\src\Novo.Azure.Function.Ada.Function\Novo.Azure.Function.Ada.Function.csproj]

The code I'm trying to compile looks a bit like this

Functions(functions => functions.HttpRoute(alteryxJobCompletedRoute, route => route.HttpFunction<AlteryxJobExecutionEventGetCommand>("/{jobname}", HttpMethod.Get). HttpFunction<AlteryxJobExecutionEventPostCommand>(HttpMethod.Post). OutputTo.StorageQueue("alteryxJobStorageQueueName")));

These are some of the nuget packages I have referenced in the project

<PackageReference Include="FunctionMonkey" Version="4.0.56-beta.4" /> <PackageReference Include="FunctionMonkey.Compiler" Version="4.0.56-beta.4" /> <PackageReference Include="FunctionMonkey.FluentValidation" Version="4.0.56-beta.4" /> <PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.0.0" /> <PackageReference Include="Microsoft.Azure.ServiceBus" Version="4.1.3" /> <PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.1.4" /> <PackageReference Include="Microsoft.Azure.Storage.Queue" Version="11.1.4" />

I have also tried to update to latest .NET Core version (3.1.3) but with the same result.

I have tried to run dotnet build --force but with same results.

Any idea on what I might be doing wrong.

/Anders

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions