© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
9 replies
Mek

✅ Not understanding Microsoft Tutorial

I'm following the microsoft tutorial on creating a cli application. https://learn.microsoft.com/en-us/dotnet/core/tools/global-tools-how-to-create.

My first problem was under
Test The Application
Test The Application
section, I ran the commands that they posted
dotnet run
dotnet run -- "Hello from the bot"
dotnet run -- Hello from the bot
dotnet run
dotnet run -- "Hello from the bot"
dotnet run -- Hello from the bot
and I got
Hello World
Hello World
3 times in a row. If I ran
dotnet run --ShowBot "Hello from the bot"
dotnet run --ShowBot "Hello from the bot"
it would show the appropriate message under the
ShowBot
ShowBot
function. I didn't understand that as I have followed everything to the T.

My second problem is my current problem. Under
Package the tool
Package the tool
it says to update the
.csproj
.csproj
file to which did and then run
dotnet pack
dotnet pack
to which I also did, but I cannot find the
./nupkg
./nupkg
folder anywhere that it states

The microsoft.botsay.1.0.0.nupkg file is created in teh folder identified by the
<PackageOutputPath>
<PackageOutputPath>
value from the microsoft.botsay.csproj file, which in this example is the .nupkg folder.
So where did the folder go? And also, after packaging the project with the
dotnet pack
dotnet pack
command, the first problem got fixed? 🤷 idk about that one
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Can't access Microsoft Graph. What part am I not understanding clearly?
C#CC# / help
3y ago
Not understanding this lesson
C#CC# / help
12mo ago
✅ Not understanding Avalonia Error
C#CC# / help
3y ago
Microsoft DataFrame example not working
C#CC# / help
2y ago