[Solved] How to avoid this error? [closed]
Add a body to your constructor, just as the error tells you to: namespace Essai48photo { public partial class MainPage : PhoneApplicationPage { // Constructor public MainPage() { } // Variables private int savedCounter = 0; PhotoCamera cam; MediaLibrary library = new MediaLibrary(); } } 3 solved How to avoid this error? [closed]