Skip to main content
Any Framework

The source generator that embeds additional files into assembly as static variables.

Published
Nov 22, 2023
2y ago
Total Downloads
5.5K
5,531

Install

dotnet add package BakedResources --version 0.1.1

No framework information available.

README

Baked Resources

Baked Resources is a Nuget package that allows you to "bake files" into assembly and provides an easy-to-access API to retrieve its contents.

How to use

Let's say you have a file called test.txt in your project, and we want to bake it. To do that, install the NuGet package BakedResoureces:

dotnet add package BakedResources

and rename the file to test.baked.txt or test.b.txt.

You are done! 🚀

Now you can access the file contents like that:

var contents = BakedResources.TestApp.test;

Changes from Previous Version

No structural changes between v0.1.0 and v0.1.1.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.