This is a .NET Framework 4.8 console project, but there is no tag for that.
I am using Visual Studio 2022 - v17.10.1
When I try to add either an Entity Framework (v6.5.1) model from an existing SQL Server database, I get an error regarding a trusted certificate which most likely comes from Microsoft.Data.SqlClient - at least that's the where the exception comes from. I am using system.data.sqlclient though.

I am not using that driver at all for data access.
I tried adding TrustServerCertificate=true and Encrypt=False to the connection string, but that didn't make a difference because the program still connects to the database fine. I only have an issue when I try to add an Entity Framework Model.
Please note that the connection string I'm using to create the model is validating.
It almost looks like TrustServerCertificate=True is left off when creating the info in the app.config for the model.
Why would the connection string work, but creating the model not work?