[Bug 272961] devel/msbuild: Avoid MSBuild error MSB1008

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 06 Aug 2023 00:08:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272961

            Bug ID: 272961
           Summary: devel/msbuild: Avoid MSBuild error MSB1008
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: saper@saper.info

It is not clear to me why this happens, but on my 14-CURRENT
machine I do not seem to be able to build MSBuild due to the following
error:

============= MSBuild command =============
/big/ports/usr/ports/devel/msbuild/work/msbuild-0.06/build/../artifacts/mono-msbuild/msbuild
"/big/ports/usr/ports/devel/msbuild/work/msbuild-0.06/build/Toolset.proj"
/t:restore /m /clp:Summary /warnaserror /v:minimal
/bl:"/big/ports/usr/ports/devel/msbuild/work/msbuild-0.06/build/../artifacts/Release-MONO/log/Toolset.binlog"
===========================================
Microsoft (R) Build Engine version 15.8.38.37692 (xplat-master/3c930fa8 Tue May
 8 12:36:23 EDT 2018) for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1008: Only one project can be specified.
Switch: /m

This can be fixed by making sure the /m is given the parameter
(number of CPUs to use in parallel).

MSBuild does not seem to parallelize builds currently, but
this fixes the error.

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