I have a single Azure Cloud Service as a project in Visual Studio 2015, which contains 2 Python Worker Roles.
They each have their own folder with source code files, and they are deployed to separate VMs. However, they both rely on some identical pieces of code. Right now my solution is to just include a copy of the code in each worker role, but then I have to remember to apply changes to both worker roles in case of a bug fix.
I have tried making a folder on the project level, containing the shared files, but when I add them to the worker role, VS just copies the files.
Is there a way to implement something like a shared folder, which only copies the files upon building the project?