Just made a simple WPF MVVM app using Entity Framework 6 with a MySQL db. When I try to run it on another machine it crashes even before showing the UI
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: credit.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 5857d84b
Problem Signature 04: System.Data
Problem Signature 05: 4.0.30319.18408
Problem Signature 06: 52311175
Problem Signature 07: 9c4
Problem Signature 08: 2b
Problem Signature 09: System.Windows.Markup.XamlParse
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1026
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
So I made a virtual machine with only .net 4.5 redistributable and tried running the app with no luck. Then I installed the MySQL Connector Net 6.9.9 (core only) and the app now starts. Even tho the app folder has all the dll files that the connector installs, it can't run without it being installed.
I tried googling this problem but couldn't find any mention of it anywhere.
EDIT
So the question is why can't the app start without the connector being installed and works fine even if i delete the mysql folder in program files ?