The following error occurs when trying to create a new project from any template in MonoDevelop: " The project could not be created The type initializer for 'MonoDevelop.Projects.MSBuild.MSBuildEvaluationContext' threw an exception. " Steps to reproduce: 1. Start MonoDevelop. 2. File -> New Solution... 3. Pick anything. E.g., .NET Console Project (C#) 4. Click 'Next' 5. Type in a project name (e.g., 'foo') 6. Click 'Create' 7. Observe error in popup window. Unfortunately, this completely prevents me from using MonoDevelop for anything but an already-existing project. My configuration: FreeBSD 12.1-RELEASE-p8 amd64 MonoDevelop 7.6.11 $ mono --version Mono JIT compiler version 5.10.1.57 (5.10.1.57 Thu Aug 6 13:15:32 UTC 2020) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notification: kqueue Architecture: amd64 Disabled: none Misc: softdebug Interpreter: yes LLVM: supported, not enabled. GC: sgen (concurrent by default)
This turns out to be worse than I initially thought. I created a .NET Core project on a Linux machine and attempted to open it using MonoDevelop on FreeBSD. Unfortunately, I get the same error. So it appears that, at present, MonoDevelop is completely unusable.
A commit references this bug: Author: bapt Date: Sat Feb 6 07:13:07 UTC 2021 New revision: 564192 URL: https://svnweb.freebsd.org/changeset/ports/564192 Log: Mark as broken: " The project could not be created The type initializer for 'MonoDevelop.Projects.MSBuild.MSBuildEvaluationContext' threw an exception. " This is confirmed by a users and by myself PR: 248862 Submitted by: fbsd@ettinsmoor.net Changes: head/devel/monodevelop/Makefile
Removing expired port.