> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MicrosoftGame.config Element - ModFolder (DEPRECATED)

> MicrosoftGame.config Element - ModFolder (DEPRECATED)

# MicrosoftGame.config Element - ModFolder (DEPRECATED)

Defines the location of end-user mods for your game files.

## Parent

This element's parent is the DesktopRegistration element.

## Requirement

This element is optional and is not required to be set.

## Platform

This element only pertains to PC devices.

## Behavior

* Attribute is Name.
* Default value for Name attribute is `<PackageName>_Mods`.
* Allowed value for Name attribute is any valid folder name located at the root of the package.

## Remarks

* As of the March 2022 GDK, this element is now deprecated due to changes in how packages are installed. For more information, see [Flat File Install Overview](/build/core-features/common/packaging/packaging-flatfileinstall).
* If this element is set in your MicrosoftGame.config, it will be ignored in the March 2022 Microsoft Game Development Kit (GDK) and future releases.
* If these elements are present in a MicrosoftGame.config that has been updated to `Game configVersion="1"`, an error will be presented when attempting to package your title. The error will output "The DesktopRegistration entries "modFolder", "enableWritesToPackageRoot", "disableRegistryWriteVirtualization" and "disableFilesystemWriteVirtualization" are deprecated in configVersion >= 1". Removing these elements from the MicrosoftGame.config will resolve this issue. For more information on `Game configVersion="1"` and if it affects your title, see [MicrosoftGame.config Version Details](/reference/system/microsoftgameconfig/microsoftgameconfig-schema#MicrosoftGameConfig-VersionDetails).

## See Also

[MicrosoftGame.config Reference - Table of Contents](/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)


## Related topics

- [MicrosoftGame.config Element - DesktopRegistration](/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-desktopregistration.md)
- [MicrosoftGame.config Element - DisableFilesystemWriteVirtualization (DEPRECATED)](/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-disablefilesystemwritevirtualization.md)
- [MicrosoftGame.config Element - DisableRegistryWriteVirtualization (DEPRECATED)](/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-disableregistrywritevirtualization.md)
- [MicrosoftGame.config Element - EnableWritesToPackageRoot (DEPRECATED)](/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-enablewritestopackageroot.md)
- [MicrosoftGame.config Element - Folder](/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-folder.md)
