Hi all, I'm having this problem....
Scenario: C# 2010, WPF, SQL Compact 3.5 SP2.
I'm working at a wpf window which loads records from a SQL Compact DB and shows data in textboxes. At runtime everything works perfectly but since this morning (working on it last 2 days) i'm not able to edit the window at DesignTime.
As soon as I open the window with the wpf editor I got the error (translating from Italian):
"Impossible to find the database. Check the database path. [Data Source = C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\thedbfile.sdf]"
Now, in settings and app.config I have the connection string which is something like
I don't understand why and where NOW (only since this afternoon) at Design Time VS look that path for the database, while at RunTime it's ok.
Again, I'm using Datasets, and I can preview data, ecc., as said everything is ok except the edit of the window which crash with this error....
View Complete Post