From e69aa3e089eb5e540fa9aa5d7525b17147bdd167 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 21 Dec 2023 18:39:15 +0100 Subject: [PATCH] document references --- README.md | 7 +++++-- Test/Content/Contentless.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9b7bd1b..3d64858 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,10 @@ If you want to change the way Contentless works, you can use a configuration fil "TextureFormat": "Compressed" } } - } + }, + // A set of content pipeline library references that should optionally be added to the content file, or whose paths should be changed in the content file if they don't match the project's package references + // Default: [] + "references": ["MonoGame.Extended.Content.Pipeline"] } ``` For an example of a config in use, see the [test config](https://github.com/Ellpeck/Contentless/blob/main/Test/Content/Contentless.json). @@ -69,4 +72,4 @@ When running Contentless and supplying the location of a MonoGame Content Pipeli Contentless figures out which importer and processor to register for any given file by generating a list of all the importers and processors that are available, both inside of MonoGame, and inside of References added to the `Content.mgcb` file. This process is similar to what occurs when adding an existing file through MonoGame's Content Pipeline tool. If Contentless sets the wrong importer or processor for any file, the user can simply open `Content.mgcb` in MonoGame's Content Pipeline tool and edit it manually. -As Contentless never changes any existing content of a `Content.mgcb` file, all changes that are made to it by hand or using the Content Pipeline tool will not be overridden. \ No newline at end of file +As Contentless never changes any existing content of a `Content.mgcb` file, all changes that are made to it by hand or using the Content Pipeline tool will not be overridden. diff --git a/Test/Content/Contentless.json b/Test/Content/Contentless.json index 81af4a5..5852b2a 100644 --- a/Test/Content/Contentless.json +++ b/Test/Content/Contentless.json @@ -5,7 +5,7 @@ "Ex*.png" ], "logSkipped": true, - "references": ["monogame.extended.content.pipeline"], + "references": ["MonoGame.Extended.Content.Pipeline"], "overrides": { "Copy.*": { "copy": true