Bug 248862 - lang/mono: Cannot create any new projects in monodevelop
Summary: lang/mono: Cannot create any new projects in monodevelop
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-mono (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2020-08-23 22:05 UTC by Dan Barowy
Modified: 2020-08-24 17:38 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (mono)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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)
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.