.RESOURCES

RESOURCES File

.NET Binary Resources File
Ask a question
QUICK ANSWER

A .resources file is a compiled binary artifact produced by Visual Studio or MSBuild from an XML .resx source file. It stores application strings, images, and other assets embedded into .NET assemblies. You do not open or edit this file directly - edit the source .resx file in Visual Studio instead. To inspect one, use ResGen.exe (included with the .NET SDK) or open the parent assembly in dnSpy or ILSpy.

Developer: Microsoft Corporation Category: Developer Files MIME: application/octet-stream
OPENS ON Windows macOS Linux
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed Jul 10, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the RESOURCES file format?

Files with the .resources extension contain data used by applications developed in the Microsoft .NET ecosystem, most often within the Visual Studio development environment. .resources files store objects - such as strings, images, icons, and binary data - utilized by the application at runtime.

These are compiled binary files generated automatically from .resx (XML resource) source files by ResGen.exe (the Resource File Generator) during the build process. The binary format is identified by the magic number 0xBEEFCACE at the start of the file. Developers normally edit .resx files in the Visual Studio designer; the .resources file is an intermediate build artifact they rarely touch directly.

Placing application resources in .resources files enables direct references to their contents in source code via the ResourceManager class. For already compiled applications, specialized resource editors can replace original objects - this approach is most commonly used to create program language localizations by substituting original texts with their translated equivalents, without recompiling the entire application.

At runtime, ResourceManager loads the compiled .resources file either embedded in the main assembly or as a satellite assembly (.resources.dll) for a specific locale.

An important caveat for modern .NET development: .resources files that contain complex objects serialized with BinaryFormatter are deprecated as of .NET 5 and blocked by default in .NET 7+ due to security risks. String, image, and primitive-type resources are unaffected. The format has been part of the .NET platform since .NET Framework 1.0 (2002) and remains unchanged through .NET 9 (2024).

Security & safety

RISK: LOW

.resources files themselves are data files, not executable. However, they may contain BinaryFormatter-serialized objects (legacy .NET 1-4 style) which, if deserialized, can execute arbitrary code - this is why .NET 7+ disables BinaryFormatter by default. Opening a .resources file in a text editor or ResGen.exe is safe; only deserializing untrusted complex-type resources poses a risk.

Format details

in a nutshell
FULL NAME.NET Binary Resources Fileaka .resources file, compiled .NET resource file
DEVELOPERMicrosoft Corporationsince .NET Framework 1.0 (2002)
MIME TYPEapplication/octet-stream
TYPEbinary .NET resource file (compiled from .resx or .txt)
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
CECAEFBE
ASCII
····
ResourceManager.MagicNumber = 0xBEEFCACE, stored as 32-bit signed integer in little-endian order. This is the canonical .resources file identifier.

Programs that open RESOURCES files

Windows3 apps
Microsoft Visual Studio Freemium Open the source .resx file in Solution Explorer - VS shows a designer grid. The .resources file in obj/ is auto-generated on build and normally not opened directly.
ResGen.exe (.NET SDK tool) Free resgen.exe file.resources file.resx - decompiles .resources back to .resx XML. Included with .NET SDK.
dnSpy / ILSpy Open-source Open the .dll/.exe assembly in dnSpy - resources embedded as .resources are listed under 'Resources' node and can be exported.
macOS1 app
Visual Studio Code + C# Dev Kit Open-source Edit source .resx; 'dotnet build' regenerates .resources.
Linux1 app
Visual Studio Code + C# Dev Kit Open-source Edit the source .resx file; 'dotnet build' regenerates the .resources binary automatically.

Technical details

deep spec
File typeCompiled binary .NET resource file
Magic number`0xBEEFCACE` (4 bytes, little-endian, at offset 0)
Header versionResourceManager.HeaderVersionNumber = 1 (stable since .NET 1.0)
Byte orderLittle-endian (header integers); resource data encoding varies by type
String encodingUTF-16 LE for resource names; UTF-8 for type names in header
Build tool`ResGen.exe` compiles from .resx XML source; runs automatically during Visual Studio build
Runtime loader`System.Resources.ResourceManager` - embedded in assembly or satellite .resources.dll
Typical size1 KB - 10 MB (larger with embedded images or audio)
Primitive types19 primitive types (string, int, bool, etc.) use compact binary encoding
BinaryFormatter statusDeprecated .NET 5+; disabled by default in .NET 7+ (arbitrary code execution risk)
Introduced.NET Framework 1.0 (February 2002)
Platform supportWindows (.NET Framework), Linux and macOS (.NET Core / .NET 5+)
UWP/WinAppSDK replacement.resw (same XML schema as .resx) compiled to .pri (Package Resource Index)
Released.NET Framework 1.0 (2002)
Latest version.NET 9 (2024) - format unchanged since inception; ResourceManager.HeaderVersionNumber = 1
Specificationlearn.microsoft.com

RESOURCES conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with RESOURCES files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about RESOURCES files.

Frequently asked questions

What is a .resources file in my obj/ folder?
It's a compiled binary resource file auto-generated by MSBuild/Visual Studio from your .resx source file. It is an intermediate build artifact - do not edit it directly; edit the .resx file instead.
How do I convert .resources back to .resx?
Use ResGen.exe (included with the .NET SDK): 'resgen.exe input.resources output.resx'. Or open the parent assembly in dnSpy/ILSpy and export resources from there.
Can I open a .resources file without Visual Studio?
Yes - use ResGen.exe (free, .NET SDK), dnSpy, or ILSpy. A hex editor can inspect the binary layout if you know the format.
Why is my .resources file missing from the build output?
Check that the corresponding .resx file has its Build Action set to 'Embedded Resource' (or 'Content' for satellite assemblies) in Visual Studio's Properties pane.
What is the magic number for a .resources file?
0xBEEFCACE - stored as the first 4 bytes in little-endian order (CE CA EF BE in hex).

References

1Create resource files (.NET) - Microsoft Learnlearn.microsoft.com
2ResourceManager.MagicNumber Field - Microsoft Learnlearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.DATProgram Data File (generic)
4.PARTPartial Download File
5.BINCD/DVD Disc Image (BIN/CUE)
6.EXEWindows Executable (Portable Executable)
7.RPMSGRestricted Permission Message
8.JSONJavaScript Object Notation file
9.ICSiCalendar data file
10.JPGJPEG Image

Related extensions

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z