Sharing My Extensions between LinqPad versions
I was looking on a way to share the same "My Extensions" linq between Linqpad 5 and Linqpad 8. I'm fine with it being compiled twice etc, but ideally the linq itself would be unique. Is there a way? Folders are already setup identically between the two versions but when I try open "My Extensions" it opens two different files based on the framework version.
Answers
-
You could create symlinks between the two.
But I would advise against that. The change in features between 5 and 8 (and even 9 I'd argue) are huge, huge enough to warrant having separate versions. 5 is the last version to support framework and cannot share a lot of the features in core.
I believe you can still use the usual compiler version symbols to conditionally include framework/core specific code.