Brian Kessler
Brian Kessler

Reputation: 2327

For Micosoft Dynamics 365, if a working solution/project git repo exists, how can I import the project into my developer environment?

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?

Upvotes: 2

Views: 672

Answers (1)

FH-Inway
FH-Inway

Reputation: 5117

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).

Upvotes: 1

Related Questions