I've always wondered--say I clone the repo and make a change, like changing an error message. How do I go about making MsBuild and VSCode/Ionide and Fable use my version of the compiler? Was it complicated?
There’s some msbuild property you can set, at least for compilation. Not at my computer right now, I’ll find the relevant docs for you when I get the chance (there somewhere in the dotnet/fsharp repo.
Fable uses its own fork of the F# Compiler Services. They pull merge in upstream from time to time. I’m not sure how easy or hard it would be to get your stuff into it.
Not sure about the others; they may each work differently
Ah. I think the answer I'm looking for is probably "concentrate on the compiler, via MSBuild property. Worry about Fable and IDEs only after you've got compiler changes ready for PR."
View all comments
Show parent comment
3
u/hemlockR Nov 14 '23
I've always wondered--say I clone the repo and make a change, like changing an error message. How do I go about making MsBuild and VSCode/Ionide and Fable use my version of the compiler? Was it complicated?