Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/picrap/blobber
Merge or embed .NET assemblies
https://github.com/picrap/blobber
assemblies embed merge nuget
Last synced: 24 days ago
JSON representation
Merge or embed .NET assemblies
- Host: GitHub
- URL: https://github.com/picrap/blobber
- Owner: picrap
- License: mit
- Created: 2016-03-05T16:24:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-05T07:15:22.000Z (almost 6 years ago)
- Last Synced: 2024-10-05T04:42:03.583Z (about 1 month ago)
- Topics: assemblies, embed, merge, nuget
- Language: C#
- Size: 2.58 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blobber
Merge or embed .NET assemblies## How to use it
Install the [NuGet package](https://www.nuget.org/packages/Blobber/) in the target project.
By default, referenced private assemblies (the ones with 'copy local' set) will be embedded and loaded when trying to be resolved.## Tuning with the `Blobber` file
However, the Blobber does much more.
It can also **merge** instead of embedding.
Also, assemblies referenced as not private ('copy local' not set) can be processed.In order to make fine tuning, simply add a file named `Blobber` at the projet root (it can be of any type, so the `none` is recommended).
The syntax is:
`[()][]:`
Where:
- `` is the build configuration. If this is specified, then the directive only applies in the given configuration.
- `` can be `+`, `-` or left empty (in which case it is equivalent to `-`). `-` addresses private assemblies (the 'copy local') and `+` specifies public assemblies (I am honestly not sure this feature is useful)
- `` is the name of the assembly to match. Wildcards are supported, so `SQLite` or `Microsoft.*` will work as expected
- `` is `none`, `merge` or `embed`.Note: all lines are always processed, so you need to start from less specific to most specific.
So if no `Blobber` file is found in project it will behave as if this line was specified:
`*: embed`
(even if a `Blobber` file is used, the line above is always used before any other line).There is a sample [here](https://github.com/picrap/Blobber/blob/master/Test/TestApplication/Blobber)