12

I deleted an old edmx file and I attempted to add a new one via Add > New Item> Visual C# Templates (data) - ADO.NET Entity Data Model.

enter image description here

In the wizard, in the "Choose your Data Connection" window, there are some pre-existing connection strings. Where are these values taken from? I searched my solution for the connection strings but there weren't any.

How do I delete these pre-existing connection strings so that they don't show up the next time?

1 Answer 1

28

These connection are not stored in your solution - they are completely unrelated to your solution. They are stored somewhere in Visual Studio. If you open Server Explorer and expand Data Connections node you will see all of them and you will be able to remove those you don't want to use anymore.

1
  • Thank you! This was so non-obvious
    – A X
    Commented Nov 14, 2021 at 21:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.