dotnet / dotnet/sdk

[WebToolsE2E] When "azd up" deploys an Aspire application with SqlClient, a security warning appears for the package "System.Private.Uri".

Open
#45,220 2 comments 0 reactions 0 assignees View on GitHub
Area-WebSDK untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

**INSTALL STEPS**
1. Install VS 17.13 P2 PR (contains 9.0.200-preview)
2. Install azd [1.11.0]

**REPRO STEPS**
1. Create Aspire Starter App > .NET 9.0 > Create
2. Click xxx.ApiService and insert the code
` `
3. Go to program.cs and paste the code:
`builder.AddSqlServerClient("sqldata"); `
4. Right Click solution> Open Folder in File Explorer >Open CMD
5. Publish the project using the following commands:
```
azd init
azd up
```
**ACTUAL RESULT**
There are some warning message in the VS after publishing the project in CLI
![Image](https://github.com/user-attachments/assets/ce648d62-4bed-4af0-a84c-58821423751f)

**EXPECTED RESULT**
Can publish the project successfully without warnings in VS

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.