locked
Failed to create xml file in a package's installed directory

    Question

  • Recently I developed a metro app. In the package's installed directory, I wanna create a xml content file with the following code.

    Package.Current.InstalledLocation.CreateFleAsync()

    But the following exception occurred.

    The call to QI for interface 'Windows.ApplicationModel.IPackageStatics' with IID '{4E534BDF-2960-4878-97A4-9624DEB72F2D}' failed with HRESULT 0x80004002 (No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))).

    anyone has idea on it?

    Tuesday, January 17, 2012 6:04 AM

Answers