[Bug 256342] devel/msbuild: default targets are unusable with lang/mono5.20 and lang/mono6.8

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 06 Aug 2023 21:37:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256342

--- Comment #2 from Marcin Cieślak <saper@saper.info> ---
A manual workaround is for this is the following:

# ln -s ../../Current/bin/Roslyn /usr/local/lib/mono/msbuild/15.0/bin/Roslyn

This seems to fix most of the port breakage with 6.8 reported in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238089#c79

I don't know if we can make an older msbuild 15 and newer msbuild 16+
(preferred for mono 6.8+) to co-exist.

Maybe we should go for a bold move an replace devel/msbuild with 16.9.0 (or
later) and lang/mono with 6.12+

(or maybe there is a fix for this that does not break removal of mono6.8 and
reinstallation of mono 5.10 - this port needs to install
lib/mono/msbuild/15.0/bin/Roslyn that is not a symbolic link).

-- 
You are receiving this mail because:
You are the assignee for the bug.