You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project file which is attached. The project file lists the nuget packages that are used.
When project.assets.json is generated there are references to Azure.Core, Azure.Identity, Telerik.Reporting and System.Data.SqlClient. None of these things are used in this project. I have tried tracking this down but cannot find why they are included in project.assets.json. The System.Data.SqlCl.ient is a problem because we are using Microsoft.Identity.Client and it uses Microsoft.Data.SqlClient, which cannot have System.Data.SqlClient in the same directory Foo.zip.
I am running "dotnet restore" from the command line to generate project.assets.json.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered:
Release notes for Microsoft.Data.SqlClient 5.0
Breaking changes in 5.0
Dropped support for .NET Framework 4.6.1 #1574
Added a dependency on the Microsoft.SqlServer.Server package. This new dependency may cause namespace conflicts if your application references that namespace and still has package references (direct or indirect) to System.Data.SqlClient from .NET Core.
I found out where Sql.Data.SqlClient is coming from. It was not included in Foo.csproj, and Azure.Identity and Azure.Core come from Microsoft.Data.SqlClient.
NuGet Product Used
dotnet.exe
Product Version
7.0.100
Worked before?
none
Impact
It bothers me. A fix would be nice
Repro Steps & Context
I have a project file which is attached. The project file lists the nuget packages that are used.
When project.assets.json is generated there are references to Azure.Core, Azure.Identity, Telerik.Reporting and System.Data.SqlClient. None of these things are used in this project. I have tried tracking this down but cannot find why they are included in project.assets.json. The System.Data.SqlCl.ient is a problem because we are using Microsoft.Identity.Client and it uses Microsoft.Data.SqlClient, which cannot have System.Data.SqlClient in the same directory
Foo.zip.
I am running "dotnet restore" from the command line to generate project.assets.json.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: