From be50ce90cfb7c154bff5c84e0ba056b74c777b54 Mon Sep 17 00:00:00 2001 From: hwoodiwiss Date: Thu, 4 Jan 2024 12:22:16 +0000 Subject: [PATCH 1/2] Add v1.11.0 Migration guide --- Readme.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Readme.md b/Readme.md index 547ac7d..6945198 100644 --- a/Readme.md +++ b/Readme.md @@ -450,3 +450,25 @@ var variant1 = new Parent1.Parent2.Nested.Variant1(); - [Web Client](./samples/PokemonClient/PokeClient.cs) - [Recursive Expressions](./samples/ExpressionCalculator/Program.cs) - [Recursive Expressions with Stateful Matching](./samples/ExpressionCalculatorWithState/Program.cs) + +## Migration + +### < 1.11.0 to >= 1.11.0 + +From v1.11.0 this library now contains an assembly reference. + +By default before this `dotnet add package dunet` will have generated: +```xml + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + +``` + +When upgrading to dunet v1.11.0, this will need to be simplified to: +```xml + +``` + +Otherwise the assembly will not be included for compilation, leading to build failures when trying to reference + the `Dunet` namespace or the `UnionAttribute` class. \ No newline at end of file From a19ae4ddbbdcfd1b1b7a05488b41879624e9a967 Mon Sep 17 00:00:00 2001 From: hwoodiwiss Date: Thu, 4 Jan 2024 12:38:44 +0000 Subject: [PATCH 2/2] Improve subtitile --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 6945198..ad744b0 100644 --- a/Readme.md +++ b/Readme.md @@ -453,7 +453,7 @@ var variant1 = new Parent1.Parent2.Nested.Variant1(); ## Migration -### < 1.11.0 to >= 1.11.0 +### Migrating from versions < 1.11.0 to versions >= 1.11.0 From v1.11.0 this library now contains an assembly reference.