From bf03211e61c078fc5ee987a20ad0eb9a2bb34f25 Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Wed, 9 Dec 2020 08:00:58 -0700 Subject: [PATCH 1/2] Add deprecation notice --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index eca87ccf1..fd92250d0 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ [![Build Status](https://andrewarnott.visualstudio.com/OSS/_apis/build/status/CodeGeneration.Roslyn)](https://andrewarnott.visualstudio.com/OSS/_build/latest?definitionId=15) [![GitHub Actions CI status](https://github.com/AArnott/CodeGeneration.Roslyn/workflows/CI/badge.svg?branch=master)](https://github.com/AArnott/CodeGeneration.Roslyn/actions?query=workflow%3ACI+branch%3Amaster) +🛑 **This project is no longer maintained** now that [Roslyn offers source generators](https://devblogs.microsoft.com/dotnet/introducing-c-source-generators/) which offer superior performance, reliability, and IDE integration. See [#229](https://github.com/AArnott/CodeGeneration.Roslyn/issues/229) for a discussion leading up to this decision. +Existing generators based on this project should be easily portable to Source Generators just by changing the wrapping and keeping all the syntax tree generating code. + Assists in performing Roslyn-based code generation during a build. This includes design-time support, such that code generation can respond to changes made in hand-authored code files by generating new code that shows From 7994c587c78f049739bd64657d6635541c563996 Mon Sep 17 00:00:00 2001 From: Amadeusz Sadowski Date: Thu, 10 Dec 2020 21:27:34 +0100 Subject: [PATCH 2/2] Add a migration PR link --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fd92250d0..b02d94dc7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,9 @@ [![GitHub Actions CI status](https://github.com/AArnott/CodeGeneration.Roslyn/workflows/CI/badge.svg?branch=master)](https://github.com/AArnott/CodeGeneration.Roslyn/actions?query=workflow%3ACI+branch%3Amaster) 🛑 **This project is no longer maintained** now that [Roslyn offers source generators](https://devblogs.microsoft.com/dotnet/introducing-c-source-generators/) which offer superior performance, reliability, and IDE integration. See [#229](https://github.com/AArnott/CodeGeneration.Roslyn/issues/229) for a discussion leading up to this decision. -Existing generators based on this project should be easily portable to Source Generators just by changing the wrapping and keeping all the syntax tree generating code. +Existing generators based on this project should be easily portable to Source Generators just by changing the wrapping and keeping all the syntax tree generating code. For an example migration, see [refactor: Use .NET 5 Source Generators PR](https://github.com/WarHub/wham/pull/122). + +--- Assists in performing Roslyn-based code generation during a build. This includes design-time support, such that code generation can respond to