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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 06 Aug 2023 00:08:06 UTC

            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

============= MSBuild command =============
/t:restore /m /clp:Summary /warnaserror /v:minimal
Microsoft (R) Build Engine version (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.