BotSharp icon indicating copy to clipboard operation
BotSharp copied to clipboard

dotnet build -v m -o ../bin -c ARTICULATE fails

Open andrew1stein opened this issue 6 years ago • 1 comments

Following the documentation

https://botsharp.readthedocs.io/en/latest/installation.html

git clone https://github.com/Oceania2018/BotSharp
cd BotSharp
dotnet build -v m -o ../bin -c ARTICULATE

Fails:

PS C:\users\andre\BotSharp2\BotSharp> dotnet build -v m -o ../bin -c ARTICULATE Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core Copyright (C) Microsoft Corporation. All rights reserved.

C:\users\andre\BotSharp2\BotSharp\BotSharp.sln.metaproj : error MSB4126: The specified solution configuration "ARTICULATE|Any CPU" 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:\users\andre\BotSharp2\BotSharp\BotSharp.sln]

Build FAILED.

C:\users\andre\BotSharp2\BotSharp\BotSharp.sln.metaproj : error MSB4126: The specified solution configuration "ARTICULATE|Any CPU" 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:\users\andre\BotSharp2\BotSharp\BotSharp.sln] 0 Warning(s) 1 Error(s)

Time Elapsed 00:00:00.27

andrew1stein avatar Jan 12 '20 22:01 andrew1stein

@andrew1stein Try:

dotnet build -v m -o ../bin -c Release

The -c switch is for configuration. As is, the code does not have an ARTICULATE configuration.

slamj1 avatar Jan 16 '20 20:01 slamj1