Create two projects (library and a project which uses it) in vs code which each have their own GitHub repository

18 views Asked by At

I am using vscode on macos and want to create a persistence library and an Azure Function which uses it. I am stuck on how to structure this solution given the goals which are:

  • Create a persistence library which can be used as a Nuget package hosted as a private GitHub package and used in other projects.
  • During development I would like to be able to update both of them as I will be developing the library along with the Azure function
  • During the release of the Azure Function, I would like it to use the package which would be built as a NuGet package and hosted as a private GitHub package

I know there are a number of steps involved in the Nuget part of this, but I am looking for how to structure the projects and solution so they end up in different repositories.

I saw this post, VsCode pushing my different projects to the same repository, which covers a similar topic, but not what I'm looking to do.

0

There are 0 answers