waf / CSharpRepl

A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
https://fuqua.io/CSharpRepl/
Mozilla Public License 2.0
2.93k stars 113 forks source link

Add DOTNET_ROOT to .NET SDK error message #254

Closed waf closed 1 year ago

waf commented 1 year ago

Closes #245.

Related to https://github.com/waf/CSharpRepl/pull/250 which I decided didn't have much benefit over the current way of doing things. Neither way "automatically" worked when DOTNET_ROOT was not set, so we'll just require DOTNET_ROOT to be set. Mention it in the error message to point users in the right direction.

codecov[bot] commented 1 year ago

Codecov Report

Merging #254 (5c2cb43) into main (a15bb06) will decrease coverage by 0.1%. The diff coverage is 0.0%.

@@           Coverage Diff           @@
##            main    #254     +/-   ##
=======================================
- Coverage   77.5%   77.5%   -0.1%     
=======================================
  Files         81      81             
  Lines       5473    5474      +1     
  Branches     718     718             
=======================================
  Hits        4247    4247             
- Misses       964     965      +1     
  Partials     262     262             
Impacted Files Coverage Δ
...ces/Roslyn/References/DotNetInstallationLocator.cs 87.9% <0.0%> (-1.0%) :arrow_down: