Ok if you are using SQL comapact 4 database generating the sdf file will not be read using the visual studio unless you have the SP1 installed I recommend using the Web Platform installer to install it http://www.microsoft.com/web/downloads/platform.aspx
Technical Tips on .NET Technologies, Xaml Xamarin