I have a SqlCeDB as part of my project, right now the connection string is the following:
public String localDBConnectionString = @"C:\Users\Patrick\Documents\Visual Studio 2010\Projects\WpfApplication1\WpfApplication1\MapProjectDB.sdf";
Obviously this is going to fail when I publish it and put it on another machine. How can I make the connection string work if its both in Debug mode and also if it has been Published?