Hi,
I have a WPF application with 2 windows. I started having this weird bug...the first time after I open VS, double clicking on the Window.XML will actually run the window right after loading the designer. This would happen only once after VS is opened and only
with this window.
Also, when I run without debug (Ctrl+F5), both my starting window and the second open (also, only for the first time). If i debug, this would not happen. I tried removing from my code the line that opens this window, and it still happens.
It's like something in the XML tells it to open...
----
I tried upgrading VS to 2015 (which is the same as uninstalling and installing, right?) still nothing.
So I started removing everything from my code, clearing the window and deleting DataContext code...basically anything that has anything to do with that window. And guess what? The window keeps opening! And even after I deleted the entire content of the window,
the window opens with all the buttons in it! What kind of weird bug is that?!
Any ideas?
EDIT: I literally deleted the entire content of the project, all files windows and classes, and the window still opens. I started a new project and copied the code, same thing. It's like there is a ghost or something...please help.
Thanks in advance