nooogle / CDS.CSharpScripting

Drop-in user control for C# editing with intellisense and compilation. Script compilation and execution classes for GUI and console applications.
MIT License
9 stars 3 forks source link

.Net 5 #18

Open nooogle opened 3 years ago

nooogle commented 3 years ago

How - 2nd project - compatibility with Framework? Let's figure it out !!

nooogle commented 3 years ago

@Proudloaf looks like VS2019 Preview version is required for .Net 5 RC2.. not sure I can switch VS2019 because I need to make sure am compatible with everyone I work with. What do you think?

Proudloaf commented 3 years ago

Ah, are you on 2017 at the moment? I opened it in 2019 16.7.6 and it compiles fine and didn't modify the project, the same in 16.8.0 Preview 4.0. Going to .net core of any variety is going to mess with the projects files (IMHO for the better, much smaller now) I've had some success using https://github.com/dotnet/try-convert to take framework projects to .net core 3.1 - I'm not sure if they are going to extend that project to .net core 5? I guess we could have separate projects/solutions for .net core and framework? Then there is the question of the other nugets in there...

nooogle commented 3 years ago

Yes - this could be plan - have the current library name reflect it's .Net framework and then add another one later for .Net 5. The Roslynpad project seems to be .Net framework 3.8 and .Net core 3.1, still don't know if that means it will work with .Net 5!!?!? Will try and get .Net 5 installed and VS2019 preview in the next week to have a play.