I'm currently trying to import @FH-Inway's code into my Microsoft Dynamics 365 development environment, both to see if his solution works "as-is", and to try figuring out how, in the future, I might important solutions from colleagues or third parties (assuming they are using git).
After cloning the repository, I moved the metadata from the local instance of the repo into "C:\AOSService\PackagesLocalDirectory" and then created a symbolic link.
After this, am able to successfully open a solution/project in Visual Studio.
However, when I attempt to Start the project, I get
Unable to proceed with debugging. One or more errors occurred. See the exception details below for more information. The underlying connection was closed: An unexpected error occurred on a receive.
Do I need to do something else to import the solution/project?
After cloning the repository, I moved the metadata from the local instance of the repo into "C:\AOSService\PackagesLocalDirectory" and then created a symbolic link.
The "original" Metadata folder must be in the git repository folder. You then create a symbolic link into the PackagesLocalDirectory. You did it the other way around, which doesn't work (something about how Visual Studio interacts with symbolic link folders).