jonsequitur / jonsequitur/dotnet-repl

Auto add project reference based on path

Open
#7 1 comment 1 reaction 0 assignees View on GitHub
enhancement external
Dominant language
C#
Stars
844
Forks
42
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.