Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Building on Windows ...

From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
Date: Wed, 13 Nov 2019 08:22:30 -0800
On Wed, Nov 13, 2019 at 8:20 AM Pascal Quantin <pascal@xxxxxxxxxxxxx> wrote:
>
> Hi Richard,
>
> Le mer. 13 nov. 2019 à 17:14, Richard Sharpe <realrichardsharpe@xxxxxxxxx> a écrit :
>>
>> Seems there is one more stumbling block:
>>
>> Build started 11/13/2019 8:09:31 AM.
>>      1>Project "C:\Development\wsbuild64\Wireshark.sln" on node 1
>> (default targets).
>>      1>C:\Development\wsbuild64\Wireshark.sln.metaproj : error
>> MSB4126: The specified solution configuration "RelWithDebInfo|win64"
>> 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.
>> [C:\Development\wsbuild64\Wireshark.sln]
>>      1>Done Building Project "C:\Development\wsbuild64\Wireshark.sln"
>> (default targets) -- FAILED.
>
>
> assuming that you now have a properly defined environment and that you do not have any remnants from previous failed attempts in your build directory (you should remove if you have doubts), following the steps here should work fine: https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChWin32Generate
>
> At least it does for me and others as far as I can tell.
>

After a quick inspection of the sln file, the following seems to work:

MSBuild.exe Solution.sln /m /p:Configuration=Debug /p:Platform="x64"


-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)