Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Aug 2023 00:08:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272961] devel/msbuild: Avoid MSBuild error MSB1008
Message-ID:  <bug-272961-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272961

            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:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D MSBuild command =3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
/big/ports/usr/ports/devel/msbuild/work/msbuild-0.06/build/../artifacts/mon=
o-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/../artifact=
s/Release-MONO/log/Toolset.binlog"
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272961-7788>