Azure Functions + Visual C redistributable

Alejandro Brozzo 1 Reputation point
2021-04-05T03:07:45.26+00:00

I need VCredist 2015 in an Azure Functions environment, but that only comes with 2012. Is there a way to have it there installed somehow?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,338 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JayaC-MSFT 5,526 Reputation points
    2021-04-05T07:50:51.617+00:00

    Hello @Alejandro Brozzo , Azure App Service/Azure Function runs in a secure environment called a sandbox which imposes certain limitation. Limitations like playing around some com components , writing to registry , User32/GDI32 restrictions. The sandbox is described here.

    I am afraid you won't be able to access the console and install any 3rd party libraries which run via a script, ex: EXE or MSI. So you don't have to explicitly load/install anything.

    So if you have anything related to any of these Sandbox restriction then going for Azure VM ( you can manage the OS and the installed libraries yourself ) will make more sense.

    Just for your reference, you may refer to this to check which package is installed for your app service. [ Note : as this document is old you may not see the latest VS example but it would guide you to check the version details of the library]

    If you think this answer helped , please Accept the answer and Up-vote so that it can help others in the community.

    0 comments No comments