You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
This new tooling looks fantastic, it makes managing Azure Functions much easier.
But I got an issue when trying to reference a x64 Nuget package.
If I set Solution Platform to Any CPU, then the dll in Nuget package can't be loaded.
If I set Solution Platform to x64, then Azure Functions solution won't build.
With the following error:
Could not load file or assembly 'file:///c:\Users\Documents\Visual Studio 2017\Projects\FunctionApp1\FunctionApp1\bin\x64\Debug\net461\FunctionApp1.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. FunctionApp1 C:\Users\lishi.nuget\packages\microsoft.net.sdk.functions\1.0.0-alpha3\build\netstandard1.0\Microsoft.NET.Sdk.Functions.targets
Hi,
This new tooling looks fantastic, it makes managing Azure Functions much easier.
But I got an issue when trying to reference a x64 Nuget package.
If I set Solution Platform to Any CPU, then the dll in Nuget package can't be loaded.
If I set Solution Platform to x64, then Azure Functions solution won't build.
With the following error:
Could not load file or assembly 'file:///c:\Users\Documents\Visual Studio 2017\Projects\FunctionApp1\FunctionApp1\bin\x64\Debug\net461\FunctionApp1.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. FunctionApp1 C:\Users\lishi.nuget\packages\microsoft.net.sdk.functions\1.0.0-alpha3\build\netstandard1.0\Microsoft.NET.Sdk.Functions.targets
It seems this tooling doesn't support x64. But x64 is already supported on Azure Functions Portal according to this post: https://github.com/projectkudu/AzureFunctionsPortal/issues/894
Thanks,
Kevin
The text was updated successfully, but these errors were encountered: