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.83k stars 106 forks source link

Using a custom build for the compiler #298

Open alrz opened 1 year ago

alrz commented 1 year ago

Feature Description

Having a local build of roslyn, would it be possible to use that binary instead?

kindermannhubert commented 11 months ago

This is currently not configurable.

As a workaround, you could probably (but I haven't tried) just manually replace Roslyn's dlls at %userprofile%\.dotnet\tools\.store\csharprepl\0.6.5\csharprepl\0.6.5\tools\net7.0\any (of course, supposing that its public API surface hasn't changed).

Perhaps we could add a configurable Roslyn location to cfg.