Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Monodevelop or build environment for .NET applications
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
steve_v
Apprentice
Apprentice


Joined: 20 Jun 2004
Posts: 177
Location: New Zealand

PostPosted: Sat Jul 27, 2019 7:42 am    Post subject: Monodevelop or build environment for .NET applications Reply with quote

For reasons not worth going into, I have a need to maintain a couple of C# applications, the projects for which are set up to use monodevelop or Visual Studio.

For some time I have been using monodevelop and the non-ancient mono ebuilds from the dotnet overlay, however recently this overlay has become a real minefield of bugs and packaging problems, to the point where I can no longer get the dependencies for monodevelop compiled. Current in a long history of borkage is this one.

I hate the whole .NET ecosystem with a passion, but in this case I have no choice. I need to be able to work with it comfortably, and that means something that can open .sln and .csproj files.
What's the recommended path for getting this stuff installed? Is there an alternative repo or distribution method that isn't a complete pain in the ass?

Ed. This is yet another profile 17.1 screwup, 20% of gac packages and the .dlls from xdt-for-monodevelop are going in /usr/lib64/mono, and of course mono doesn't look there. What a fuckaround, guess I just put this down to the dotnet overlay being a garbage-fire as usual.
I'll just symlink the dirs until the dotnet team gets with the program. :roll:

For reference: git issue and bug report. Much argument, zero action, borkage remains. Known borkage from a year ago even. Seriously, WTF is going on with this project?

Oh, wait, just for added aggravation the monodevelop ebuilds use nuget at build-time and break with network-sandbox enabled. What a mess. :evil:
_________________
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 726
Location: Earth

PostPosted: Wed May 27, 2020 12:26 am    Post subject: Re: Monodevelop or build environment for .NET applications Reply with quote

steve_v wrote:
For some time I have been using monodevelop and the non-ancient mono ebuilds from the dotnet overlay, however recently this overlay has become a real minefield of bugs and packaging problems, to the point where I can no longer get the dependencies for monodevelop compiled. Current in a long history of borkage is this one.

I would argue that MonoDevelop hasn't worked reliably on Gentoo Linux since 2015 and after that it was a struggle to keep in working order until 2018 or so unless you used binary packages to combat the more-than-occasional breakage.

Also, if you specifically need the Mono 3.12/3.14 series for extending software that targeted .NET 3.5, good luck.

steve_v wrote:
I hate the whole .NET ecosystem with a passion, but in this case I have no choice. I need to be able to work with it comfortably, and that means something that can open .sln and .csproj files.

I don't share your hate but I strongly agree on being able to work comfortably.

steve_v wrote:
For reference: git issue and bug report. Much argument, zero action, borkage remains. Known borkage from a year ago even. Seriously, WTF is going on with this project?

My assessment is that Gentoo dotnet overlay hasn't been usable for many years and this is not a dig against the Gentoo dotnet team. It just is what it is.

Keeping overlays (even hobby overlays) in working order takes serious time and effort (especially given that Gentoo is a moving target you have to keep up with and aging dependencies can cause discordance).

Just for old times sake though, I tried building MonoDevelop again and failed. Almost all the build failures were reported issues. I worked around all but one before I finally gave up.

Also of note is that the Gentoo dotnet overlay is still on the 5.0/6.0 series. The latest advertised MonoDevelop release version is 7.6.9.22 and the latest unadvertised version is 8.4.3.12 but if you check upstream MonoDevelop issue #8006 you'll find that the state of MonoDevelop doesn't look don't look to good.

One user (that wasn't you was it?) even chided that the project should be renamed Visual Studio for Mac and the most recent comment states that MonoDevelop has been forked by the community.

steve_v wrote:
What's the recommended path for getting this stuff installed? Is there an alternative repo or distribution method that isn't a complete pain in the ass?

You have 4 options:

0. Use any text editor and build from the command line with mcs or xbuild/msbuild. For debugging use NetCoreDbg (Samsung's C# Debugger).

1. Use Visual Studio Code which can be found in jorgicio's gentoo overlay (and don't forget to disable Telemetry) or VSCodium which is also found in jorgicio's gentoo overlay (but do note that the offical Microsoft .NET Core Debugger doesn't work with VSCodium).

2. Switch to, virtualize or dual-boot a linux distribution that has mainline support for MonoDevelop (preferably with prebuilt binaries to mininize the hassle). You probably want Ubuntu or Fedora.

3. Switch to, virtualize or dual-boot Windows and use Microsoft Visual Studio.

Personally, I'm just going to use option #1 for light work and #3 for other workloads and that's all I'm going to say about that.
_________________
Dantrell B.
Back to top
View user's profile Send private message
steve_v
Apprentice
Apprentice


Joined: 20 Jun 2004
Posts: 177
Location: New Zealand

PostPosted: Wed May 27, 2020 9:02 am    Post subject: Re: Monodevelop or build environment for .NET applications Reply with quote

dantrell wrote:
I'm just going to use option #1 for light work and #3 for other workloads and that's all I'm going to say about that.

I have already taken option -1: Refuse to deal with M$-centric project formats altogether.

Let's buy up any and all competing projects and force people to use VSCode... "Embrace, extend, extinguish" at it's finest.
For anyone still believing the "MS loves open source" propaganda, that's another delusion to lob on the bonfire.

I'm done. Those projects can hang until someone (read: not me) ports them to a non-obnoxious build system.
_________________
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 504
Location: Connecticut, USA

PostPosted: Thu Jul 02, 2020 11:25 pm    Post subject: Reply with quote

@steve_v - like you, I have a C# application (not currently packaged, and in need of it's own heavy development) I want to use, but getting stuff stable enough on Gentoo to actually battle the application's problems, and not underlying dotnet problems has been an ongoing battle, basically lost. I wasn't aware of VSCode, so I suppose I'll give that a try - although I hate having to add yet another overlay, However, if that works for me, I suppose I can drop the dotnet overlay.
Is there any point in filing a new version bug for mono itself? 6.6 is current, and although 6.8 is released and there is a 6.10 available, I fail to compile either of those - different reasons I'll be glad to share, if anyone actually cares.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum