Edit and Continue support in Linux
What is the current state of this feature? I always sort of assumed that Roslyn was on par between platforms seeing as core was designed from ground up to be multi-platform, but I just found out that EnC apparently does not work on Linux and that Rider is passing the blame to lack of underlying support. Its not really a show stopper, but where exactly are we with this? Is there some Linux architecture limitation that prohibits EnC?
@dotnet/dotnet-diag
Its primarily an issue of work and priorities rather than any architectural limitation as far as I know, and most of the work is probably in the testing. All our existing EnC tests use an old version of ildasm written in C++ against the win32 API and the classic Windows-only PDB format/APIs so we can't easily run them on Linux. Some options moving forward are that we rewrite the tests entirely or rewrite all the parts that were coupled to windows, its just work that needs to happen at some point. HTH, -Noah
Is this going to happen anytime soon? EnC is a dealbreaker. Thanks!
+1 From a productivity perspective, this is a really high priority for developers.
Frankly, I do not understand why this issue does not get a higher priority. The story of .NET core is cross-platform - but that implies you have the same productivity also cross-platform.
is this ever gonna happen? thanks
/bump
I thought I'd share my experience with my fellow C# developers. I've been a VB/C# dev for 24 years and never even considered another platform for a long time. Like many of you, I got sick of waiting for random spinning wheels and crashes in Visual Studio so I've given up on this "Edit and Continue in Mono" issue and have by-passed .NET altogether. I first used NodeJS with VS Code in two web projects and I could see what all the hype was about. Node has come a long way and it is so lightweight and in my experience just as fast as .NET Core for web apps (per CPU core). However, I didn't like the bloat in the NPM package manager and missed the strongly typed nature of C# and I don't like TypeScript - it's like a band aid for JS devs! So then I tried Go since it is now over 10 years old and I learned it surprisingly quickly because it's very simple. It compiles super quick directly to a native executable in any platform, so no waiting for VS to compile during dev time or a website to "warm up" (i.e. complile CLR pages again) or even installing any framework on your servers! You just upload the executable and it runs lightning fast immediately. No warm ups. It is super stable and also has a breakpoint debugger in VS-Code for Windows/Mac/Linux. There is even a Razor templating engine for it. Everybody is different of course and you may not like Go, but there are plenty of alternatives out there so I would say don't get stuck in the MS world like I did, try NodeJS, Python, Rust, Go... these languages are in high demand too. For me Go is such a breath of fresh air, that I thought I would share this with you.
/cc: @tommcdon
bump :(
Any chance of having this in the near future? Any ETA?
Any chance of having this in the near future? Any ETA?
There are currently no plans for this.
IMHO, this sends the message that true multi-platform support and feature parity is not Microsoft's goal. This feels more like the "embrace, extend and extinguish" of yore than the new Microsoft. It has been two years and this isn't even on the roadmap. Is Microsoft purposefully reserving this desirable developer productivity feature for Windows in order to create differentiation between their proprietary development environment and cross-platform environments?
@jcrivelloia IMHO, this sends the message that true multi-platform support and feature parity is not Microsoft's goal. This feels more like the "embrace, extend and extinguish" of yore than the new Microsoft. It has been two years and this isn't even on the roadmap. Is Microsoft purposefully reserving this desirable developer productivity feature for Windows in order to create differentiation between their proprietary development environment and cross-platform environments?
Lol, their "commitment" to multiplatform was more than obvious in net50 when they cancelled .net standard and moved Linux support from dedicated standard implementation (that we could count on always working) into compile warnings/runtime exceptions inside common net50 libraries. So now, when I include a nuget package I have to hold my breath and wait to see if library maker made the effort to attribute it with SupportedOSPlatform and shatter my dreams at the spot or just suppressed warnings so it will just throw exceptions in runtime or when it fails to run. Not to mention that platform incompatibility has even been reduced to analyzer warnings, so unless your CI/CD is geared towards zero warnings, it will just pass through and cause problems down the pipe. All that is somehow better in their heads than knowing it will work because it leaned on .net standard. Of course not, they just made a mess with versioning and decided to "solve" it over our backs to reduce their decoder ring complexity.
Now, ask me if there is a net50-linux TFM? Of course not, because apparently, according to one Mr. Souza we are "just a kernel" and thus have no such thing as "API surface" so we don't deserve a TFM. lol, weird flex but ok. I am sure any systemd integration implementation I make and publish on nuget is not really an API surface and will make a lot of sense in net50 so that net50-windows can consume it. :)
The whole Linux "support" was just MS gimmick to get Java/PHP shops to port their server side and web backend code into .net core (and subsequently run it on rented Azure infrastructure which is all they really care about). That should have been obvious to everyone when they banned commits into WPF that would make it work on Mac/Linux. Since Java is now investing heavily in its modernization and this imagined server-side mass exodus is not materializing, so is slowly ending their insincere love affair with multiplatform and Linux in general and all of a sudden they no longer have so much resources to dedicate :) . They messed up big time with dumbing-down Windows and now they are trying to suppress people like me trying to move enterprise desktop operations into Linux sphere by making our lives as difficult as possible. Its a shame though, but I can't say I am surprised. My own damn fault, not sure what I was expecting, the fact of the matter is that they are an unreliable partner and as far as they are considered you should expect only the bare minimum they now have to maintain people they managed to convince to move to net infrastructure, while constantly reminding them that they should "upgrade" to windows to get full benefits. Never thought I utter these words, but Java is looking prettier by the day.
bump
It has been 2.5 years and the progress is at 0. Is there any documentation / whitepaper / blog post about implementation details (for Windows) so that community will have less difficult to intervene and take the initiative?
I have a friend working as a Program Manager at Microsoft who told me "that feature will probably never be implemented because we want to reduce the number of people moving away from using Visual Studio on Windows"... so there you have it.
...and I realized I'm acually one of those people! My team only uses Windows for a legacy C# projects at work... but only because we have to.
All new projects (as well as that legacy project) are now developed in either Go (such a breath of fresh air BTW) or NodeJS.
So it's only a matter of time before MS lose me and my team permanently.. FREEDOM IS A COMIN'...after 25 years of MS "lock-in" :)
I have a friend working as a Program Manager at Microsoft who told me "that feature will probably never be implemented because we want to reduce the number of people moving away from using Visual Studio on Windows"... so there you have it.
Wow! Interesting if true. I think we probably all suspected that this was the case.
Ironically this will probably be the thing that pushes me to finally switch to Go and Rust for most of my coding. Sorry but I am not going to switch back to Windows for Visual Studio.
Yeah, I believe that's probably why MS purchased Xamarin in the first place; To provide a platform for non-Windows devs to adopt C# and bring them over to the more powerful Visual Studio on Windows... (that's completely my belief, BTW). However, I think it's backfiring now because better programming platforms have emerged in the last 5-10 years.
Yeah, I believe that's probably why MS purchased Xamarin in the first place; To provide a platform for non-Windows devs to adopt C# and bring them over to the more powerful Visual Studio on Windows... (that's completely my belief, BTW). However, I think it's backfiring now because better programming platforms have emerged in the last 5-10 years.
I think Microsoft needs to purchase LiveSharp now :-)