pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: v-yayan8@microsoft.com
Subject: BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid
Date: Tue, 24 May 2022 08:19:24 +0000
Message-ID: <17492-91d0c5da777750e4@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      17492
Logged by:          Shino Yang
Email address:      v-yayan8@microsoft.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]



view thread (3+ messages)  latest in thread

Message-ID: <17492-91d0c5da777750e4@postgresql.org>
Permalink:  ../17492-91d0c5da777750e4@postgresql.org/
Also on:    postgresql.org/message-id/17492-91d0c5da777750e4@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, v-yayan8@microsoft.com
  Subject: Re: BUG #17492: error MSB4126: The specified solution configuration "Release|arm64" is invalid
  In-Reply-To: <17492-91d0c5da777750e4@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox