JamesRandall / FunctionMonkey

Write more elegant Azure Functions with less boilerplate, more consistency, and support for REST APIs. Docs can be found at https://functionmonkey.azurefromthetrenches.com
MIT License
294 stars 50 forks source link

FunctionMonkey.Compiler build error #103

Closed indulismisins closed 4 years ago

indulismisins commented 4 years ago

Hi,

I followed your Video series and created new Azure function with latest FunctionMonkey package versions. On build I get this error:

Error MSB3073: The command "dotnet "C:\Users\by274.nuget\packages\functionmonkey.compiler\3.0.17\build\netstandard1.0....\tools\netcoreapp2.1/FunctionMonkey.Compiler.dll" "C:\Users\by274\source\repos\import-as-a-service\ImportAsAService\Workflow\bin\Debug\netstandard2.0\bin\Workflow.dll"" exited with code -532462766. (1, 1)

JamesRandall commented 4 years ago

I've improved the error logging in the v4 beta (now available on NuGet) for .NET Core 3.1 - could you give that a go please?

mdg215199 commented 4 years ago

If you are using Visual Studio, be sure you have >= 16.4. Also, if trying to troubleshoot by using the v4 beta, if you set both:

netcoreapp3.1
<AzureFunctionsVersion>v3</AzureFunctionsVersion>

You might have issues due to this bug as well: https://github.com/Azure/azure-functions-host/issues/5145

The last couple comments resolve, though, if you download the specific zip file to have the right azurefunctiontools, be sure to pay attention as matteotumiati mentions, as the manifest that was given in that zip file wont match your user, which will then give more errors.

JamesRandall commented 4 years ago

This should be resolved in the latest beta: v4.0.44-beta.4