Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Commit 25c07ac

Browse files
committed
PackageRequireLicenseAcceptance
1 parent 71bb2e1 commit 25c07ac

5 files changed

Lines changed: 18 additions & 90 deletions

File tree

.editorconfig

Lines changed: 0 additions & 77 deletions
This file was deleted.

readme.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ Add support for [NServiceBus](https://particular.net/NServiceBus) message serial
2020
* [Patrons](#patrons)
2121
* [Usage](#usage)
2222
* [Custom Settings](#custom-settings)
23-
* [Custom content key](#custom-content-key)
24-
<!-- endtoc -->
25-
23+
* [Custom content key](#custom-content-key)<!-- endtoc -->
2624

2725
<!--- StartOpenCollectiveBackers -->
2826

@@ -31,7 +29,7 @@ Add support for [NServiceBus](https://particular.net/NServiceBus) message serial
3129

3230
## Community backed
3331

34-
**It is expected that all developers [become a Patron](https://opencollective.com/nservicebusextensions/order/6976) to use any of these libraries. [Go to licensing FAQ](https://github.com/NServiceBusExtensions/Home/blob/master/readme.md#licensingpatron-faq)**
32+
**It is expected that all developers [become a Patron](https://opencollective.com/nservicebusextensions/order/6976) to use any of these libraries. [Go to licensing FAQ](https://github.com/NServiceBusExtensions/Home/#licensingpatron-faq)**
3533

3634

3735
### Sponsors
@@ -55,9 +53,9 @@ Thanks to all the backing developers! Support this project by [becoming a patron
5553
<!-- snippet: HyperionSerialization -->
5654
<a id='snippet-hyperionserialization'/></a>
5755
```cs
58-
endpointConfiguration.UseSerialization<HyperionSerializer>();
56+
configuration.UseSerialization<HyperionSerializer>();
5957
```
60-
<sup>[snippet source](/src/Tests/Snippets/Usage.cs#L9-L13) / [anchor](#snippet-hyperionserialization)</sup>
58+
<sup><a href='/src/Tests/Snippets/Usage.cs#L9-L13' title='File snippet `hyperionserialization` was extracted from'>snippet source</a> | <a href='#snippet-hyperionserialization' title='Navigate to start of snippet `hyperionserialization`'>anchor</a></sup>
6159
<!-- endsnippet -->
6260

6361
This serializer does not support [messages defined as interfaces](https://docs.particular.net/nservicebus/messaging/messages-as-interfaces). If an explicit interface is sent, an exception will be thrown with the following message:
@@ -79,10 +77,10 @@ Customizes the instance of `SerializerOptions` used for serialization.
7977
```cs
8078
var options = new SerializerOptions(
8179
preserveObjectReferences: true);
82-
var serialization = endpointConfiguration.UseSerialization<HyperionSerializer>();
80+
var serialization = configuration.UseSerialization<HyperionSerializer>();
8381
serialization.Options(options);
8482
```
85-
<sup>[snippet source](/src/Tests/Snippets/Usage.cs#L18-L25) / [anchor](#snippet-hyperioncustomsettings)</sup>
83+
<sup><a href='/src/Tests/Snippets/Usage.cs#L18-L25' title='File snippet `hyperioncustomsettings` was extracted from'>snippet source</a> | <a href='#snippet-hyperioncustomsettings' title='Navigate to start of snippet `hyperioncustomsettings`'>anchor</a></sup>
8684
<!-- endsnippet -->
8785

8886

@@ -93,10 +91,10 @@ When using [additional deserializers](https://docs.particular.net/nservicebus/se
9391
<!-- snippet: HyperionContentTypeKey -->
9492
<a id='snippet-hyperioncontenttypekey'/></a>
9593
```cs
96-
var serialization = endpointConfiguration.UseSerialization<HyperionSerializer>();
94+
var serialization = configuration.UseSerialization<HyperionSerializer>();
9795
serialization.ContentTypeKey("custom-key");
9896
```
99-
<sup>[snippet source](/src/Tests/Snippets/Usage.cs#L30-L35) / [anchor](#snippet-hyperioncontenttypekey)</sup>
97+
<sup><a href='/src/Tests/Snippets/Usage.cs#L30-L35' title='File snippet `hyperioncontenttypekey` was extracted from'>snippet source</a> | <a href='#snippet-hyperioncontenttypekey' title='Navigate to start of snippet `hyperioncontenttypekey`'>anchor</a></sup>
10098
<!-- endsnippet -->
10199

102100

readme.source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ toc
1414

1515
## Community backed
1616

17-
**It is expected that all developers [become a Patron](https://opencollective.com/nservicebusextensions/order/6976) to use any of these libraries. [Go to licensing FAQ](https://github.com/NServiceBusExtensions/Home/blob/master/readme.md#licensingpatron-faq)**
17+
**It is expected that all developers [become a Patron](https://opencollective.com/nservicebusextensions/order/6976) to use any of these libraries. [Go to licensing FAQ](https://github.com/NServiceBusExtensions/Home/#licensingpatron-faq)**
1818

1919

2020
### Sponsors

src/Directory.Build.props

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
33
<PropertyGroup>
4-
<Version>3.0.3</Version>
4+
<Version>3.0.4</Version>
55
<PackageTags>NServiceBus, Hyperion</PackageTags>
66
<SignAssembly>false</SignAssembly>
7+
<PackageLicenseFile>license.txt</PackageLicenseFile>
8+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
79
</PropertyGroup>
10+
<ItemGroup>
11+
<None Include="$(MSBuildThisFileFullPath)\..\..\license.txt"
12+
Pack="true"
13+
PackagePath="license.txt"/>
14+
</ItemGroup>
815
</Project>

src/mdsnippets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"TocExcludes": [ "Release Notes", "Icon" ],
2+
"TocExcludes": [ "NuGet package", "Release Notes", "Icon" ],
33
"MaxWidth": 80
44
}

0 commit comments

Comments
 (0)