question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`dotnet new corebot -n TestBot` creates project at TestBot/CoreBot

See original GitHub issue

Version

Bot Framework Echo Bot (v4.15.0)

Describe the bug

When creating a new bot using dotnet new corebot, the -n argument should be used as the name of the project. This works correctly for echobot, but not for corebot.

Instead of creating the project using the specified name, it creates a folder and then puts the project into a “CoreBot” subfolder.

To Reproduce

Steps to reproduce the behavior:

  1. Run dotnet new corebot -n TestBot

Expected behavior

Bot project should be at TestBot, but is at TestBot/CoreBot

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ramfattahcommented, Feb 24, 2022

Hey @Swimburger

Thanks for raising this issue. I believe this is expected. The documentation needs a little clarification.

When running dotnet new corebot -n TestBot only the parent folder receives the bot name. i.e. the folder output is TestBot/CoreBot

I opened an issue for this Create a bot with the Bot Framework SDK doc here: https://github.com/MicrosoftDocs/bot-docs/issues/2184

1reaction
ramfattahcommented, Feb 23, 2022

investigating this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet new <TEMPLATE> - .NET CLI
The dotnet new command creates new .NET projects based on the specified template.
Read more >
Creating .Net Core Projects with the CLI - Harry Bellamy
Create the Console App Project. We can first script the console app using dotnet new like so: dotnet new console -n MyNewConsoleApp.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found