Ensure that you have a shared location accessible to all developers in your organization. This can be anywhere your network administrator has provided for shared file access. You will probably want to restrict the access of these packages to developers only. A nice solution is to create a storage account on Azure to share the NuGet packages to. This is the approach I followed here using a fictitious company I have called Acme Corporation.
I will not go through setting up a storage account on Azure, but I will talk about accessing it from your local machine.
After you have created your storage account on Azure, you will find the access keys on the Access keys tab.
- Make a note of the keys and the Storage account name.
- I also just created a File service called packages. To get here, click on Overview. Then, under the Services heading, click on Files. On the File service window, select packages and view the property information for the file share.
- Make a note of the URL specified in the properties. Using the URL, map a network drive by changing the https:// part to \ and any subsequent / to in the path.
- Add this path to the Folder textbox and ensure that you have checked Connect using different credentials.
Use the storage account name as the username and one of the keys as the password. You now have a network drive mapped to your Azure Storage account.