# FNA

C\# reimplementation of XNA 4\.0 Refresh focused on game preservation and portable execution\.

ID: Q399 · Revision: 385

Type: software · License: Microsoft Public License, with documented MIT and dual MS\-PL/LGPL component exceptions; native libraries have separate terms\.[^license] · Status: active

Website: https://fna-xna.github.io/



FNA reimplements Microsoft's XNA Game Studio 4\.0 Refresh libraries in C\#, with a stated emphasis on preserving XNA behavior\. It can support existing XNA games and new code\-driven games, but developers still supply game logic, content and deployment packaging\. Its portability model separates managed game assemblies from the native libraries required on each target\.[^home][^setup]

## Purpose and development model

FNA's stated goal is an accurate reconstruction of XNA behavior for preserving games, rather than a general visual authoring environment\. Its documentation addresses experienced C\# developers who understand build tooling and the distinction between managed and native code\. This makes it especially relevant to maintaining an existing codebase, although new games can also use it\.[^home][^faq]

## Project and runtime setup

The setup guide incorporates FNA as a project reference and distinguishes \.NET Framework/Mono compatibility work from its recommended \.NET 8 route for new projects\. Native dependencies provide windowing and input through SDL, graphics through FNA3D, audio through FAudio and video decoding through Theorafile\. Required libraries depend on the APIs used, and their platform binaries remain part of deployment even when managed assemblies can be shared\.[^setup]

## Content and shaders

FNA supports the XNA content pipeline for preservation but does not supply a replacement pipeline tool\. Its FAQ also describes loading common image and audio formats directly\. The shader path uses Direct3D 9 Effects compatible with XNA rather than accepting arbitrary modern shader languages\. A project changing frameworks must therefore review its asset build process as well as the C\# source\.[^faq][^compat]

## Porting existing assets

The XNA porting guide identifies practical exceptions to content portability\. WMA and WMV are not supported; the documented alternatives include Ogg Vorbis or QOA audio and Ogg Theora video\. XACT banks using xWMA or XMA need rebuilding, with ADPCM described as an alternative\. Shader input layouts also require attention because newer graphics backends can be stricter than older ones\.[^port]

## Platform boundaries

The project emphasizes desktop portability and additionally lists Apple and console targets\. Its current FAQ explicitly rules out official Android support\. Moving an XNA runtime dependency to FNA also does not automatically remove Windows\-specific calls elsewhere in a game\. Platform suitability therefore depends on the entire application and its dependencies, not only the framework's own target list\.[^home][^faq][^port]

## Licensing

FNA is distributed under the Microsoft Public License\. The project's licensing page separately identifies MIT\-derived code and a decoder with an MS\-PL/LGPL choice\. Native dependencies have their own terms\. The availability of source code does not grant rights to redistribute a game's third\-party assets or remove platform\-specific distribution requirements\.[^license][^setup]

## Substitution considerations

FNA and [MonoGame](/monogame) both support XNA\-style C\# game development\. FNA's own compatibility guide documents substantial overlap alongside API and content exceptions; it directs MGCB users toward DesktopGL output and calls out incompatible effect and media formats\. This supports a qualified migration option, not a drop\-in guarantee\. MonoGame\-specific extensions and the required deployment targets should be checked before choosing the replacement\.[^compat][^monogame]

## Capabilities and substitutions

### XNA\-style game runtime — supported

FNA implements XNA 4\.0 Refresh APIs with an explicit preservation focus\.[^home]

Use case: Maintaining or porting XNA\-style C\# games · Platforms: Windows, Linux, macOS, iOS, tvOS · Region: Version, build and integration requirements apply

### MonoGame content migration — limited

FNA documents broad overlap but different effect and media formats; DesktopGL MGCB output is the documented starting point rather than a universal compatibility guarantee\.[^compat]

Use case: Maintaining or porting XNA\-style C\# games · Platforms: Windows, Linux, macOS, iOS, tvOS · Region: Version, build and integration requirements apply

### Native\-library deployment — limited

SDL, FNA3D, FAudio and Theorafile serve different runtime needs and require appropriate target binaries\.[^setup]

Use case: Maintaining or porting XNA\-style C\# games · Platforms: Windows, Linux, macOS, iOS, tvOS · Region: Version, build and integration requirements apply

### Official Android support — unsupported

The current FAQ explicitly excludes Android from official support\.[^faq]

Use case: Maintaining or porting XNA\-style C\# games · Platforms: Windows, Linux, macOS, iOS, tvOS · Region: Version, build and integration requirements apply

### [Substitute for MonoGame](/monogame) — limited

Assessment: a substitute for MonoGame when maintaining XNA\-style C\# games on supported FNA targets\. Review API extensions, content processing and effects/media formats; Android deployment and automatic compatibility of MonoGame\-specific functionality are outside the supported scope\.[^faq][^compat][^monogame]

Use case: Maintaining or porting XNA\-style C\# games · Platforms: Windows, Linux, macOS, iOS, tvOS · Region: Version, build and integration requirements apply

## References

[^home]: [FNA overview](<https://fna-xna.github.io/>) — XNA preservation goal and platform model (vendor; retrieved 2026-10-07T19:48:46Z)

[^faq]: [FNA FAQ](<https://fna-xna.github.io/docs/0:-FAQ/>) — Developer audience, no official NuGet, content/shader scope and Android (vendor; retrieved 2026-10-07T19:49:56Z)

[^setup]: [Setting up FNA](<https://fna-xna.github.io/docs/1:-Setting-Up-FNA/>) — Project references, native libraries and runtime choices (vendor; retrieved 2026-10-07T19:50:13Z)

[^port]: [Building XNA games with FNA](<https://fna-xna.github.io/docs/2a:-Building-XNA-Games-with-FNA/>) — Content exceptions, media codecs and game portability (vendor; retrieved 2026-10-07T19:50:47Z)

[^compat]: [FNA MonoGame compatibility](<https://fna-xna.github.io/docs/appendix/Appendix-D:-MonoGame/>) — API differences, MGCB and effect/song/video formats (vendor; retrieved 2026-10-07T19:50:13Z)

[^license]: [FNA licensing](<https://fna-xna.github.io/license/>) — MS\-PL and source component exceptions (vendor; retrieved 2026-10-07T19:49:46Z)

[^monogame]: [MonoGame documentation](<https://docs.monogame.net/articles/index.html>) — C\# framework, XNA reimplementation and content tools (vendor; retrieved 2026-10-07T19:49:46Z)

Source revision: https://substitutefor.net/entities/Q399?revision=385
