BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: v-yayan8(at)microsoft(dot)com
Subject: BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid
Date: 2022-05-24 08:19:24
Message-ID: 17492-91d0c5da777750e4@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17492
Logged by: Shino Yang
Email address: v-yayan8(at)microsoft(dot)com
PostgreSQL version: 14.0
Operating system: Windows Server 2019
Description:

Environment:
Windows Server 2019 + VS2019 + PostgreSQL master branch on c28839c commit.

PostgreSQL failed to build "error MSB4126: The specified solution
configuration "Release|arm64" is invalid. Please specify a valid solution
configuration using the Configuration and Platform properties" with MSVC on
windows. It can be produced on master branch on c28839c commit.

Repro steps:
1. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual
Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64
-arch=arm64
2. git clone https://git.postgresql.org/git/postgresql.git
F:\gitP\git\postgresql.git
3. git -C "F:\gitP\git\postgresql.git" reset --hard c28839c
4. cd F:\gitP\git\postgresql.git\src\tools\msvc
5. set
PATH=F:\gitP\git\postgresql.git\..\tools;F:\tools\gnuwin32\bin;%PATH%
6. build RELEASE
7. cd F:\gitP\git\postgresql.git
8. msbuild /m /p:Platform=arm64 /p:Configuration=Release
/p:PlatformToolset=v141 pgsql.sln /verbosity:normal /t:Rebuild

Error Message:
F:\gitP\git\postgresql.git\pgsql.sln.metaproj : error MSB4126: The specified
solution configuration "Release|arm64" is invalid. Please specify a valid
solution configuration using the Configuration and Platform properties (e.g.
MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or
leave those properties blank to use the default solution configuration.
[F:\gitP\git\postgresql.git\pgsql.sln]

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2022-05-24 09:02:12 Re: BUG #17485: Records missing from Primary Key index when doing REINDEX INDEX CONCURRENTLY
Previous Message Amit Kapila 2022-05-24 04:13:46 Re: How is this possible "publication does not exist"