Bug 248862

Summary: lang/mono: Cannot create any new projects in monodevelop
Product: Ports & Packages Reporter: Dan Barowy <fbsd>
Component: Individual Port(s)Assignee: freebsd-mono (Nobody) <mono>
Status: Open ---    
Severity: Affects Many People CC: linimon, mono
Priority: --- Keywords: needs-qa
Version: LatestFlags: koobs: maintainer-feedback? (mono)
koobs: merge-quarterly?
Hardware: amd64   
OS: Any   

Description Dan Barowy 2020-08-23 22:05:02 UTC
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 ( 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)
Comment 1 Dan Barowy 2020-08-24 17:38:32 UTC
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.