Skip to content

Commit 7cba2a1

Browse files
committed
simplify and remove unwanted packages
1 parent 80f64f4 commit 7cba2a1

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

articles/ai-foundry/includes/install-csharp-packages.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,44 +10,24 @@ ms.date: 04/30/2025
1010
ms.custom: include, build-2025
1111
---
1212

13-
* To work with Azure AI services in your .NET project, you'll need to install several NuGet packages. There are two ways to add these packages:
14-
15-
* Option 1: Using the .NET CLI. You can add NuGet packages using the .NET CLI in the integrated terminal:
13+
* To work with Azure AI services in your .NET project, you'll need to install several NuGet packages. You can add NuGet packages using the .NET CLI in the integrated terminal:
1614

1715

1816
```bash
1917
# Add Azure AI SDK packages
20-
dotnet add package Azure.AI.Foundry.Project
2118
dotnet add package Azure.Identity
22-
dotnet add package Microsoft.SemanticKernel
23-
dotnet add package Azure.AI.Projects.OneDP
19+
dotnet add package Azure.AI.Projects
2420
dotnet add package Azure.AI.Agents.Persistant
2521
dotnet add package Azure.AI.OpenAI
2622
dotnet add package Azure.Search.Documents
27-
dotnet add package Azure.Monitor.OpenTelemetry.AspNetCore
2823
```
2924

30-
* Option 2: Using the NuGet Package Manager in VS Code
31-
32-
1. Open your project in VS Code
33-
1. Right-click on your project in the Solution Explorer panel (from C# Dev Kit)
34-
1. Select "Manage NuGet Packages..."
35-
1. Search for and install each of the following packages:
36-
- Azure.AI.Foundry.Project
37-
- Azure.Identity
38-
- Microsoft.SemanticKernel
39-
- Azure.AI.OpenAI
40-
- Azure.Search.Documents
41-
- Azure.Monitor.OpenTelemetry.AspNetCore
42-
- Azure.AI.Projects.OneDP
43-
- Azure.AI.Agents.Persistant
4425

4526
* After installing these packages, you'll need to add the appropriate using directives to your C# files:
4627

4728
```csharp
4829
using Azure.AI.Foundry.Project;
4930
using Azure.Identity;
50-
using Microsoft.SemanticKernel;
5131
using Azure.AI.OpenAI;
5232
using Azure.Search.Documents;
5333
// Add other namespaces as needed

0 commit comments

Comments
 (0)