You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many monorepo enthusiasts insist that dependencies are checked into the source control system. The .NET ecosystem supports this by use of a custom NuGet feed. In Visual Studio, this can be achieved by creating a file called NuGet.config XML file and adding a <packageSources> element that contains a reference to the directory on disk containing the .nupkg files. In the IDE, this shows up as an entry in the Package Sources list of the NuGet Package Manager window.
Additionally, this would allow users to use internal packages not published to nuget.org, as there is currently no way to do this. The use case here is a version of a package where the maintainer either has not or will not accept bug fixes, and the development team maintains a forked version of the dependency project. There may not be any need for the development team to build this dependency as part of the target project, and the dependency code should not be a part of the target project.
The text was updated successfully, but these errors were encountered:
That’s fair, I suppose, but for a package that lives in the source control repo, and therefore already exists locally on disk and doesn’t need to be downloaded, how should that URL be formatted? And do I need to lay the packages out in the repo in a specific directory format (like packages/<packageName>/<packageVersion>/packagefile.nupkg?
Many monorepo enthusiasts insist that dependencies are checked into the source control system. The .NET ecosystem supports this by use of a custom NuGet feed. In Visual Studio, this can be achieved by creating a file called
NuGet.config
XML file and adding a<packageSources>
element that contains a reference to the directory on disk containing the.nupkg
files. In the IDE, this shows up as an entry in the Package Sources list of the NuGet Package Manager window.Additionally, this would allow users to use internal packages not published to nuget.org, as there is currently no way to do this. The use case here is a version of a package where the maintainer either has not or will not accept bug fixes, and the development team maintains a forked version of the dependency project. There may not be any need for the development team to build this dependency as part of the target project, and the dependency code should not be a part of the target project.
The text was updated successfully, but these errors were encountered: