2

Can Visual Studio use the 32-bit version of Azure Functions Core Tools instead of the 64-bit version when debugging? My Azure Function uses a third-party 32-bit DLL, so my code needs to run as 32-bit. I need help finding a way to accomplish this using Visual Studio. I can run my code at the command line without using Visual Studio.

Nick.Mc
19.4k6 gold badges67 silver badges102 bronze badges
asked Mar 25, 2024 at 22:29

2 Answers 2

1

Refer this Blog to debug your Function project in Visual Studio with 32 bit Azure Functions Core tools.

Also, Visual Studio will only pick the Azure Function core tools that's running at top in the control panel, Thus you can uninstall Azure Function 64 bit core tools and keep 32 bit x86 Azure Function core tools running.

enter image description here

One more option is to set the Executable Path to Azure Function 32 bit core tools like below:-

Right click on your Azure Function project > Debug > Executable > Path to Executable set to Azure function core tools 32 bit > command line arguments host start:-

enter image description here

You can select Toggle in Any CPU > Configuration Manager > and add New Platform set to x86

enter image description here

answered Mar 26, 2024 at 6:41
Sign up to request clarification or add additional context in comments.

Comments

0

I haven't been able to figure out how to debug 32-bit Azure apps with Visual Studio 2022, but until a better solution is available a workaround to debug your app might be to create a console app or test project that includes your azure function app as a reference, and then call the relevant code from your console app.

answered Aug 21, 2025 at 19:57

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.