-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running cdk deploy on capitalize-string #294
Comments
I ran into the same problem. Changed the cdk.json to this, and it worked: { |
Try changing ; to && like: "app": "dotnet publish -c Release CapitalizeStringHandler/src/CapitalizeStringHandler && dotnet run -p src/CapitalizeString" |
…it deploys (#1118) Fixes #294 Co-authored-by: Michael Kaiser <[email protected]>
|
🐛 Bug Report
What is the problem?
Running the "capitalize-string" causes an error in "cdk deploy"
https://github.com/aws-samples/aws-cdk-examples/tree/master/csharp/capitalize-string#this-project
Ref: MSBUILD : error MSB1008: Only one project can be specified.
This seems to be related to cdk.json (https://github.com/aws-samples/aws-cdk-examples/blob/master/csharp/capitalize-string/cdk.json) where 2 builds are specified
Reproduction Steps
Clone the repository and follow the readme here:
https://github.com/aws-samples/aws-cdk-examples/tree/master/csharp/capitalize-string#build--deploy
Verbose Log
cdk deploy
(node:24072) ExperimentalWarning: The fs.promises API is experimental `
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1008: Only one project can be specified.
Switch: dotnet
For switch syntax, type "MSBuild -help"
Subprocess exited with error 1
Environment
The text was updated successfully, but these errors were encountered: