Skip to content

Typo in adding packages section #45635

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

Closed
A-Programmer opened this issue Apr 4, 2025 · 1 comment · Fixed by #45636 or #45670
Closed

Typo in adding packages section #45635

A-Programmer opened this issue Apr 4, 2025 · 1 comment · Fixed by #45636 or #45670
Labels
doc-bug dotnet/svc good first issue Issue should be good for first-time contributors, with clear instructions help wanted Good for community contributors to help [up-for-grabs] intelligent-apps/subsvc okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings. ⌚ Not Triaged Not triaged

Comments

@A-Programmer
Copy link
Contributor

A-Programmer commented Apr 4, 2025

Type of issue

Typo

Description

At the create the app section step 3, there is wrong add package commands:

dotnet package add OpenAI
dotnet package add Microsoft.Extensions.AI.OpenAI
dotnet package add Microsoft.Extensions.Configuration
dotnet package add Microsoft.Extensions.Configuration.UserSecrets

Correct code:

dotnet add package OpenAI
dotnet add package  Microsoft.Extensions.AI.OpenAI
dotnet add package Microsoft.Extensions.Configuration
dotnet add package Microsoft.Extensions.Configuration.UserSecrets

Page URL

https://learn.microsoft.com/en-us/dotnet/ai/quickstarts/build-chat-app?tabs=azd

Content source URL

https://github.com/dotnet/docs/blob/main/docs/ai/quickstarts/build-chat-app.md

Document Version Independent Id

d9f3e5a9-d034-5b7c-147a-b4237b3819f4

Platform Id

3ed36d8a-0000-5b87-2af8-ac0428bec2f0

Article author

@FBoucher

Metadata

  • ID: 89806d84-fb2f-8ffb-2707-82549341cb1d
  • PlatformId: 3ed36d8a-0000-5b87-2af8-ac0428bec2f0
  • Service: dotnet
  • Sub-service: intelligent-apps

Related Issues

@dotnet-policy-service dotnet-policy-service bot added ⌚ Not Triaged Not triaged doc-bug help wanted Good for community contributors to help [up-for-grabs] good first issue Issue should be good for first-time contributors, with clear instructions labels Apr 4, 2025
@gewarren
Copy link
Contributor

gewarren commented Apr 4, 2025

Thanks @A-Programmer. These "noun first" commands are available in .NET 10+ SDK and will be the recommended form going forward. That said, I was worried about changing these commands in tutorial instructions since most people are probably not using .NET 10 Preview yet.

If you want to fix this issue, can you make the change across all the tutorials where this syntax was changed to 'dotnet package add'?

@dotnet-policy-service dotnet-policy-service bot added the okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings. label Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-bug dotnet/svc good first issue Issue should be good for first-time contributors, with clear instructions help wanted Good for community contributors to help [up-for-grabs] intelligent-apps/subsvc okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings. ⌚ Not Triaged Not triaged
Projects
None yet
2 participants