Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Support for referencing GitHub projects #1003

Open
radu-matei opened this issue Feb 23, 2017 · 3 comments
Open

Support for referencing GitHub projects #1003

radu-matei opened this issue Feb 23, 2017 · 3 comments

Comments

@radu-matei
Copy link

I would like to have a feature where I just reference a .NET Core project from a public source directly in my .csproj (project.json) file.

Verify that the referenced project is actually a .NET Core project, check the versions for .NET Standard compatibility, then clone the repo (or create git submodules - what would be the better approach?) and reference the project.

Is this something that might find its way into the tooling, or I can start building an extension for VS Code (or VS17)?

If we believe this sounds good, when I get some spare time I would like to investigate the creation of a VS Code extension.

What do you think?

Thanks,
Radu M

@peterblazejewicz
Copy link

Radu, Unless I'm wrong NuGet lacks the proper support for this (package resolution). I'm accustomed to use such feature in NPM or Bower, but just not in .NET. The closest thing I ever used in NuGet was locally referenced project

@radu-matei
Copy link
Author

I'm not sure I follow what you're saying. The thing I would love to have in VS (Code) is to just reference a GitHub repository in the .csproj file, check the .NET Standard version of that project then clone or make a submodule out of that project, then reference it like any other local project (and maybe keep support to update from a specific branch).

I don't directly see where the NuGet pakage resolution comes in discussion since in the end it would simply be like a local referenced project.

Could you please expand on that?

Thanks!

@peterblazejewicz
Copy link

I should be more specific (sorry, quite new to .NET tools). With Node/JavaScript that's built into package managers itself (NPM, Bower, Yarn NPM client). I just said I think NuGet has no such support at all. If you mean IDEs or editors like VSCode, then sorry for added noise. VSCode is more x-plat IMO

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants