Skip to main content

MicrosoftGame.config Element - NoCodePCRoot

Specifies the local folder where Save Games are stored when using the Porting previous titles to PC Game Saves with no-code cloud saves

Parent

The parent element is the SaveGameStorage element.

Requirement

This element is optional.

Platform

This element only pertains to PC devices.

Behavior

  • Attribute of RelativeTo.
  • Attribute values for RelativeTo are AppData, Public, LocalAppData, LocalAppDataLow, ProgramData, SavedGames, or UserProfile.
  • Allowed value is a relative file path.

Remarks

  • To use this element, specify a valid TitleId and MSAAppId element in your MicrosoftGame.config file.
  • Use SavedGames as the RelativeTo value. The Saved Games folder (%USERPROFILE%\Saved Games) corresponds to FOLDERID_SavedGames. OneDrive doesn’t sync this folder by default. This behavior helps avoid conflicts with cloud save synchronization. OneDrive automatic syncing can affect other locations such as AppData.
NoCodePCRoot redirection works only when you launch the title as a packaged build by using wdapp install. Launching the .exe directly bypasses the redirection and reads and writes to the physical NoCodePCRoot path without cloud synchronization. Alternating between packaged and direct .exe launches can cause save data to appear missing. For more information, see Porting previous titles to PC Game Saves with no-code cloud saves.

See Also

MicrosoftGame.config Reference - Table of Contents Porting previous titles to PC Game Saves with no-code cloud saves
Last modified on August 4, 2026