Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One click/command line solution for end to end "replace package reference with project reference" #36846

Closed
smoothdeveloper opened this issue Nov 13, 2023 · 1 comment
Labels
Area-NetSDK untriaged Request triage from a team member

Comments

@smoothdeveloper
Copy link

When interacting with deep dependency tree of opensource libraries, or even internal projects, that are referenced from nuget packages, it is very tedious and error prone process, when one desire to step debug and update code in more than one of the repositories / solutions.

One has to do so by replacing the package references to either assembly or project references, or to deploy updated nuget package.

I'm looking for a solution that would enable allow to clone or refer to a clone of each such dependency, and would enable to do dotnet build/run/test/etc. against such tree where a set of nuget references would be replaced with the project references.

The feature would work by defining for each PackageReference name that needs to be processed, either:

  • a local folder
  • the uri to the repository (msbuild would orchestrate clone to a stable temporary folder)
  • nothing

given the are build subtleties in each project, and potentially several .sln, the nuget packages would need to embed:

  • build step information for such scenario, probably as a list of sanitized dotnet commands
  • the .sln for such scenario (for the in IDE experience)

In the IDE, it would manifest as if the solution explorer had one more level with top nodes being the sln.

This would boost productivity in those circumstances, and encourage more evolution between synergistic projects.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-NetSDK untriaged Request triage from a team member labels Nov 13, 2023
@smoothdeveloper
Copy link
Author

This is kind of duplicate of #1151.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-NetSDK untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

1 participant