Value cannot be null. Parameter name: existingConnection
Hi,
I am quite new to Visual Studio development and I am working on a hobby project using WPF application with C#. I currently exploring User Control in WPF application. So, I have a project named "wpfLearnMainWin" say parent project (that has app.xaml and mainWindow.xaml), and an other project named "wpfLearnUserCon" say child project. This child project has several user controls such as "newItem.xaml", "settings.xaml", "about.xaml", "info.xaml".
In the mainWIndow.xaml, I have used a "Tab Control" where each tabs takes us to "new item", "about", "settings" and "info". So, in the mainwindow, if I click "settings", it should load the "settings.xaml" user control in the settings section. I have dragged and dropped the "settings" user control into the mainwindow under the settings tab section.
But, here I am facing an issue and the issue is "Value cannot be null. Parameter name: existingConnection".
In the mainWindow.xaml code, this particular line has this blue curly lines and shows
The error is attached below.
In fact, in the designer window it shows an "x" mark like the image below.
Can someone help me with this regard? TIA