[Bug 256342] devel/msbuild: default targets are unusable with lang/mono5.20 and lang/mono6.8
Date: Mon, 07 Aug 2023 15:50:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256342 --- Comment #3 from Jan Beich <jbeich@FreeBSD.org> --- (In reply to Marcin Cieślak from comment #2) > # ln -s ../../Current/bin/Roslyn /usr/local/lib/mono/msbuild/15.0/bin/Roslyn I confirm, this fixes lang/mono5.20 while lang/mono6.8 needs more. $ msbuild hello.csproj Microsoft (R) Build Engine version 42.42.42.42 ( Tue Aug 1 17:21:05 UTC 2023) for Mono Copyright (C) Microsoft Corporation. All rights reserved. Build started 8/7/2023 1:23:36 PM. Project "/tmp/hello.csproj" on node 1 (default targets). /usr/local/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.Managed.Core.targets(60,27): error MSB4184: The expression ""hello.cs".GetPathsOfAllDirectoriesAbove()" cannot be evaluated. Method 'System.String.GetPathsOfAllDirectoriesAbove' not found. [/tmp/hello.csproj] Done Building Project "/tmp/hello.csproj" (default targets) -- FAILED. Build FAILED. "/tmp/hello.csproj" (default target) (1) -> /usr/local/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.Managed.Core.targets(60,27): error MSB4184: The expression ""hello.cs".GetPathsOfAllDirectoriesAbove()" cannot be evaluated. Method 'System.String.GetPathsOfAllDirectoriesAbove' not found. [/tmp/hello.csproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.25 > Maybe we should go for a bold move an replace devel/msbuild with 16.9.0 (or later) and lang/mono with 6.12+ For games/openra 20200503 -> 20210321 (the latest is 20230225 but requires dotnet instead of mono) I need at least lang/mono5.20 due to https://github.com/openra/openra/commit/19b02875c7da OpenBSD Ports has openra-20210321 with mono-6.12, so skipping 5.20 (and 6.8) should be fine. -- You are receiving this mail because: You are the assignee for the bug.