Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Pierre-Louis Prevost
    Hello, I am still trying to find a solution to successfully build the last sources of monodevelop and I am wondering why nuget packages need to be installed? Apparently, the site https://dotnet.myget.org does not have the correct ca certificates which cause me the errors mentioned above (CERTIFICATE_VERIFY_FAILED). Is it possible to disable nuget package installation before building monodevelop? Thanks!
    Lex Li
    @plprevost .NET Core support was very important for VS for Mac (and MonoDevelop) when 7.x release was being worked on. That's why many NuGet packages were introduced as new dependencies (from Microsoft's .NET MyGet feed.
    Maurice Marinus

    Hello. Im interested to find if others share the same views.
    1) mono was created as an open source implementation of the .net framework. But seeing as the shift is has been made to .net core, mono which is more or less on par with .net framework 4.8.x one can now expect very little new development with regards to mono?
    2) monodevelop. The open source ide which also runs on linux. It appears that there is almost no more development taking place (or open source development) as the focus is now on providing an ide for Mac.
    3) The mono and monodevelop implementations are now stagnating and favour seems to be on .netcore5/6 and Vs Code?
    4) I recall the Xamarin/Ximian community being very active. Yet it seems like everyone has disappeared? Even Miguel De Icaza doesnt appear to blog anymore. What happened?

    On a personal note:
    I check out many different projects from github on a daily basis. The ones I have the most issues with are believe it or not, the .net core projects.
    Am i correct in saying that .net core was touted to be cross platform? Yet things when I install .net core 5 on linux, I check out any major "dotnet" project e.g. dotnet/msbuild from github, I run the build script and then it fails. I usuallly end up having to make many corrections jsut too get it to compile or end up just giving up.

    What I would like to see... well for one, no false claims and illusions of support. What am I saying? Perhaps things should go back to how they were before xamarin joined microsoft. .. because I dont see any real gain for especially linux with regards to .net and c# and related techs happening. The focus is once again on the proprietary OS's.

    Lex Li
    @marinusmaurice Something you might have missed. 1) Merging with Mono CLR has been one of the main theme in .NET 5/6 and announced years ago. If you check dotnet/runtime, you can see Mono is there and evolving rapidly. 2) Years ago even Xamarin itself mainly emphasized on Xamarin Studio for Windows and Mac (Microsoft just followed that approach based on common business rules). 3) Ambition to move the whole ecosystem to .NET 5/6 and VSCode is never a secret, but you can stay on the legacy Mono/MonoDevelop if you know how to help yourself. Why shouldn't people move to something better? 4) What do you mean by "everyone has disappeared"? Even before the Microsoft's acquisition, more and more Xamarin related posts were written by newly hired product managers (like David Ortinau and others), instead of Miguel de Icaza. Xamarin GitHub repos also recommends developers to join the Discord https://aka.ms/dotnet-discord for a while. You can see active discussions there (as well as on GitHub repos).
    @marinusmaurice "I check out any major "dotnet" project e.g. dotnet/msbuild from github, I run the build script and then it fails" is expected, as that's living on the cutting edge. A core asset like MSBuild can be quite difficult to configure and compile, not only on Linux but also on other OSes. If you happen to use a Linux distribution that Microsoft didn't test, then more problems can come. Compiling Mono components from source code isn't easier if you really want to compare.
    Maurice Marinus
    @lextm Hi thank you for the reply. You have cleared up a few thoughts for me. Concerning things like the posts, its most likely havent caught up with whatever the latest means of communicating is nowadays. I would always look forward to blog posts from someone such as Miguel (for example on his personal blog) as I felt it to be more enjoyable
    But you are also quite hitting a nail on the head. I am more of a binary/compiled type than the interpreted type . So I find it difficult to let go of things like the VS/Monodevelp/Delphi IDE for something like VSCode. ;)
    Maurice Marinus
    I guess the old thing of not breaking the build when you check in your code doesn't apply anymore. Bleeding edge or not.. if you check it in .. it has to AT LEAST compile everywhere.
    Maurice Marinus

    It would be welcomed from me at the very least if things could be better announced instead of silence. For example here in Africa whilst we try try to keep up with things we perhaps dont have the communicative advantages that would exist elsewhere such as in the USA.
    E.g. I never knew that Xamarin's focus was to really join Microsoft and Mac. I thought it was to get develop an open source implementation of the dotnet framework and its main languages.
    So with that in mind.. lets say I've invested many years in mono/monodevelop/linux. and been wondering why the stagnation over past few years. Its literally burning in me to give my highly self opinionated first choice answer as to why this is but it will most likely be seen as a start of a war.
    Yes.. one can say I must move on to the latest thing.. but truth is .. I don't like nor trust the last Javascript fad that has everyone falling over their over feet to be ahead. I honestly don't. If you want to know why ,. have a look at for example the mozilla/firefox debug and/or code inspector code. With a little bit of thinking out the box and maybe a splash of old school computing knowledge, it would be very apparent why.

    but anyways. linux is left out in the cold again. $rules.

    linux has a massive dependency problem, but wont admit it, which has affected MD to a fair degree to what I understand, I think it was Lex tried to go the whole containerization route in an attempt to address the problem, but that ended having massive other problems with MD not having access to things it really needed.
    Lex Li
    @marinusmaurice "it has to AT LEAST compile everywhere" is only applicable to the preconfigured CI environments. You can check what they are from https://github.com/dotnet/msbuild and the only Linux environment there is the "ubuntu-latest" Azure Pipeline VM image. Putting too many Linux distributions out there for CI is just a waste of everyone's time.
    Maurice Marinus

    I actually disagree very much with your statement of its a waste of everyone's time putting out more linux distro's. Firstly, dotnet or rather at the very least .net core or whatever the latest crossplatform offering is is advertised with installation instructions for at LEAST 7 linux distro's.

    All products that are then compilable by the advertised version of dotnet (e..g .net5) SHOULD then by extension be compilable on the OS's it runs on.... without fail and especially without broken builds checked in.(btw.. when did that become the fashion?)

    Also regarding the issue of checking out code from github and compiling. I always thought that the one branch of code that SHOULD always work (i.e. compile for release etc) was the main/tip/head branch. So imagine me.. using Fedora, goes and checks out msuild. I run "build.sh" ... then I get enough errors to last a lifetime. Now .. perhaps MS handles their projects differently etc etc.. but to me to check out the main branch, hit compile and be faced with errors is a major sin.
    If the code exists for a build to only work on ubuntu, then it should go in the ubuntu branch.
    Why do I made these assumptions? Well.. because its advertised. Cross platform, I see my linux distro is in there .. so why should I not expect something to work? Another point is that there actually arent that many truly unique linux distro's. All more or less conform to a standard. All other distro's are based on the major ones.. so should in theory work.

    Note that my comments aren't said with malicious or hidden intent. Its all something that I'm surprised no one has mentioned.
    I believe a huge part of the success of C# and .Net as a framework is due to the IDE. If you ever used the IDE that came with for example VB6 (Visual Interdev) then you will understand what Im talking about. The part that I think ESPECIALLY stands out with the IDE is the WINFORMS DESIGNER which made RAD actually rather ejoyable.
    Albeit one can claim that it was more or less duplicated from the delphi ide (which was a wonderful ide for RAD in my personal opinion)

    I think MS is missing an opportunity to play a role in somewhat bringing unity to as claimed divided linux community albeit with regards to a small area of programming. They should do the ide on linux.. but do it THEIR way and not try satisfy squabbles between communities. (pref the ide will contain a winforms designer - and not whatever js decides) . If they do it well enough.. people WILL follow. They do have the resources.

    It would have maybe been a bit better to have announced intentions on the main website and not have to dig into various forums around the web to discover that projects are abandoned as I would prefer the news from the horses mouth.

    Lastly.As mentioned , none of my statements are meant in any devious or malicious way. It just seemed a waste to invest 15+ years in mono/monodevelop for someone to abandon it .. doesn't it? ;)

    Lex Li
    @marinusmaurice "dotnet or rather at the very least .net core or whatever the latest crossplatform offering is is advertised with installation instructions for at LEAST 7 linux distro's" That only applies to stable releases and I made it clear "Putting too many Linux distributions out there for CI is just a waste of everyone's time".
    @marinusmaurice Your personal opinion on how master/main branch SHOULD work can be honored, but in practice no one is obligated to implement that. Like I said earlier, if you want to live on the cutting edge (compiling the source code) you have a price to pay. Everyone sticking to the stable releases doesn't. Microsoft does have resources, but it has its own rules to allocate them.
    Lex Li
    @marinusmaurice I rather not use Delphi as an example of a wonderful IDE (sorry, I wrote Code Beautifier Collection for Delphi, so I knew too much of the dark side). However, I never consider my investment on Delphi/Mono/MonoDevelop in vain, as today I utilize the same knowledge on .NET Core and VSCode.
    Lex Li
    @marinusmaurice About how to get latest information, I think you should consider the following 1) key conferences (Microsoft Build and DotNetConf are mandatory). 2) .NET Blog and its allies https://devblogs.microsoft.com/dotnet/ 3) Community Standup https://dotnet.microsoft.com/live/community-standup Mono/Xamarin have sometimes been covered. There is no longer a single channel to distribute all news for such a huge ecosystem, so we have to get used to that sooner or later.
    Joshua Barretto
    Hi all. Is there a way for me to tell mono programs to run via WINE instead of mono? I'm trying to run something that requires d3d11.dll on Linux, and it says that the DLL was not found.
    Chris Marsh
    Hey all, the download page for mono-project and the rpm keys, it seems the rpm keys are no longer hosted properly.
    That returns a 404 now
    Well, a 500 actually
    Anthony Walter
    has anyone gotten dotdevelop to compile? https://github.com/dotdevelop
    Lex Li
    @sysrpl Make sure you are using Ubuntu, https://github.com/dotdevelop/dotdevelop/actions as that's what's covered by CI.
    Anthony Walter
    i am using ubuntu 20.20, have all the requirements, and when i try to build I am still getting this error upon make:
    /home/gigauser/tmp/dotmake/dotdevelop/main/external/fsharpbinding/MonoDevelop.FSharpBinding/MonoDevelop.FSharp.fsproj(29,3): error MSB4019: The imported project "/home/gigauser/.dotnet/sdk/5.0.401/Microsoft/VisualStudio/v16.0/FSharp/Microsoft.FSharp.Targets" was not found. Confirm that the expression in the Import declaration "/home/gigauser/.dotnet/sdk/5.0.401/Microsoft/VisualStudio/v16.0/FSharp/Microsoft.FS30 harp.Targets" is correct, and that the file exists on disk.
    why is make looking for Microsoft/VisualStudio/v16.0? i have NEVER seen any folders like that installed alongside any dotnet core install.
    @sysrpl Have a look at the Wiki page https://github.com/dotdevelop/dotdevelop/wiki/Setting-up-a-Build-Environment and the specific Ubuntu/Debian page. Dotdevelop will build with dotnet 5 installed using the latest versions of mono/msbuild (mono-project preview repos) but note the issues with running/debugging with Net 5. If you are still having problems, try running up a minimal Ubuntu install in VirtualBox, which should certainly work OK.
    Maurice Marinus
    Well like everyone you and me are entitled to our opinons.
    My comments regarding checking in code, be it bleeding edge or not, if everyone decides to check in their code (assuming on main branch) without due consideration if the code compiles is really not acceptable.
    It would give everyone permission to check in broken code and let someone else sort it out because "its bleeding edge".
    If one has pride in ones work and consideeration for others especially with it being a public project then consideration NEEDS to be taken and implemented especially with regards to checking in code that others will check out. As I could have mentioned before, I could maybe be behind the times on how the newer devs do things nowadays.
    Also on the note of Delphi, it is or rather was an example of a wonderful IDE .. but I should have mentioned at the time. And Im refering to the way it which GUI dev was done from Delphi/C++ builder 1 days..
    Fortuntely the spirit of how gui dev was done "back then" is currently maintained by the excellent Lazarus project. Florian and the FPC/Lazarus team devs have truly done a magnificent job in maintaining solid tradition in software development.
    They really show how "write once, compile everywhere" SHOULD be experienced.
    Maurice Marinus
    anyhow.... mono does seem dead. so does monodevelop.
    Lluis Sanchez
    FYI, the mono/monodevelop repository has been archived. If you are interested in working on the project, even when archived you can still create a fork of it.
    A better starting point might be the DotDevelop fork https://github.com/dotdevelop/dotdevelop . Thanks to great work by @lytico and @tommih, this can now be built and run (unlike the archived MonoDevelop code) and currently works with projects up to netstandard2.0 and netcoreapp3.1. Work is ongoing to get it running with net5.0 projects, and all contributions and feedback are welcomed!

    pi@raspberrypi:~ $ sudo mono /home/pi/Downloads/welcomePageView.exe
    Cannot open assembly '/home/pi/Downloads/welcomePageView.exe': File does not contain a valid CIL image.
    pi@raspberrypi:~ $

    does anyone know why is this error popping up?

    Lex Li
    @Hits17 You cannot download a random .exe file from somewhere and expect Mono to be able to run on. Mono can only run some .NET Framework based .exe files, and that's what the error message says.
    Hey @lextm . I am trying to run my python program that i have assembled in PyCharm IDE. Do you have any idea how can i run an executable python program on raspberry pi ?
    Yijian Liu
    Hi, I got this error when I open my visual studio on Mac: Service MonoDevelop.Ide.ProjectOperations not initialized. Can anyone help me how to fix it?
    Lex Li
    @Hits17 I don't. Python is not covered by the Mono ecosystem (unless IronPython), so you should go to a Python forum and ask there.
    @YijianLiu1210 VS for Mac no longer has anything to do with MonoDevelop so your only channel to get support is from Microsoft, https://docs.microsoft.com/en-us/visualstudio/mac/report-a-problem?view=vsmac-2019
    Yijian Liu
    @lextm Thanks!
    Julian Jarecki
    I'm trying to compile a Unity Project outside of Unity on Ubuntu.
    In Unity everything compiles fine, but when I run
    msbuild Assembly-CSharp-Editor.csproj
    Several Types/Namespaces from cross-assembly are not resolved (CS0246)
    Any Idea how to approach this problems would be welcome
    Hello, I'm try install Monodevelop monoENV to ubuntu18.04LTS, apt install monodevelop , fail reason 504 Gateway Timeout [IP: 443],
    Mono distribute server is down? ping command is ack dest
    hi folks, im attempting to install monodevelop on ubuntu 21.10 impish, can anyone confirm success?
    aah "This project has not been built nor maintained since January 2020 and has been archived"
    @mtj:matrix.org Have a look at the DotDevelop fork ( https://github.com/dotdevelop/dotdevelop ). There are instructions in the Wiki for building on ubuntu and other distros. It's an ongoing project, but can be built and will build and debug various .NET projects. Feedback (and contributions!) are welcomed.
    Eigil Krogh Sorensen
    Hi, I'making a snap from a xamarin gtk project. For that I need msbuild 16 for mono (found that that msbuild version can compile the code for my xamarin app on ubuntu (22.04). BUT right now I must install the full monodevelop to get msbuild 16 for mono. Is it possible to extract only msbuild for mono somewhere ?
    Andres G. Aragoneses
    why would you need the full monodevelop?
    @ekrogh as far as I understand, you just need to install the mono-msbuild or msbuild apt package
    @ekrogh I packaged a xamarin gtk project as a snap too, in case you want to check out how I did it, check my GitHubActions workflows here: https://github.com/nblockchain/geewallet
    (the frontend branch, not master)