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

How to seamlessly swap NuGet packages with source? #7334

Closed
MartinJohns opened this issue Dec 11, 2016 · 4 comments
Closed

How to seamlessly swap NuGet packages with source? #7334

MartinJohns opened this issue Dec 11, 2016 · 4 comments
Labels
Milestone

Comments

@MartinJohns
Copy link

In the past you demonstrated a way to seamlessly replace referenced NuGet packages with the actual source of projects by simply cloning the source code of the NuGet package to a path that is referenced in the global.json file, without any further change required.

How is this behavior possibly with the new MSBuild tooling? Looking at the csproj file I can see that there are now distinct values for ProjectReference and PackageReference, unlike previously only a dependency in the project.json. I also see no global.json file anymore when creating a new project. Do I now need to manually reference all projects to my solution and swap out the PackageReference with the ProjectReference node?

@MartinJohns MartinJohns changed the title How to seamlessly swap NuGet package with source? How to seamlessly swap NuGet packages with source? Dec 11, 2016
@cwe1ss
Copy link

cwe1ss commented Aug 16, 2017

related to #1151

As I've said there, I'd love to see this solved in a way that doesn't touch committed files. With global.json, it was easy to mistakenly commit the local paths.

@andycmaj
Copy link

andycmaj commented Oct 5, 2018

curious what people think of this naive approach: #1151 (comment)

@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
@msftgits msftgits added this to the Backlog milestone Jan 31, 2020
Copy link
Contributor

github-actions bot commented Oct 5, 2024

Due to lack of recent activity, this issue has been labeled as 'stale'. It will be closed if no further activity occurs within 30 more days. Any new comment will remove the label.

@github-actions github-actions bot added the stale label Oct 5, 2024
Copy link
Contributor

github-actions bot commented Nov 4, 2024

This issue will now be closed since it has been labeled 'stale' without activity for 30 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants