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

Auto add project reference based on path #7

Open
Kethku opened this issue Jun 15, 2021 · 1 comment
Open

Auto add project reference based on path #7

Kethku opened this issue Jun 15, 2021 · 1 comment
Labels
enhancement New feature or request external

Comments

@Kethku
Copy link

Kethku commented Jun 15, 2021

This tool seems like its perfect for exploratory testing of projects or doing quick experiments to test out an in development feature.

To smooth over that use case, I think it would be valuable to automatically (or with a magic command) add a project reference to whatever project is in the current path. An initial version of this could be to just do a quick check on startup if there is a csproj file in the current directory and just reference it.

Some possible issues:

  • Maybe the project would have to be built first? I don't know how this system handles referencing csproj files.
  • The .net version likely has to match up. This could be fixed by just trying and silently failing (or with a quick message explaining the problem)
@jonsequitur
Copy link
Owner

This capability is something we're looking at enabling for .NET Interactive generally (including for notebooks): dotnet/interactive#890.

If the scenarios you have in mind aren't captured there, please add your thoughts.

@jonsequitur jonsequitur added enhancement New feature or request external labels Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request external
Projects
None yet
Development

No branches or pull requests

2 participants