diff --git a/csharp/Lib/Generators/Gen.cs b/csharp/Lib/Generators/Gen.cs deleted file mode 100644 index 93d604216..000000000 --- a/csharp/Lib/Generators/Gen.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Microsoft.CodeAnalysis; - -namespace InnovEnergy.Lib.Generators; - -[Generator] -public class MySourceGenerator : ISourceGenerator -{ - public void Initialize(GeneratorInitializationContext context) - { - } - - public void Execute(GeneratorExecutionContext context) - { - var file = "/home/eef/sync/work/Code/innovenergy/git/csharp/Lib/Protocols/Modbus/Reflection/Exec.cs"; - - File.WriteAllText(file, ""); - - throw new Exception("foo"); - - foreach (var st in context.Compilation.SyntaxTrees) - { - File.AppendAllText(file, st.GetText().ToString()); - } - } -} \ No newline at end of file diff --git a/csharp/Lib/Generators/Generators.csproj b/csharp/Lib/Generators/Generators.csproj deleted file mode 100644 index bdb1dd28c..000000000 --- a/csharp/Lib/Generators/Generators.csproj +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - netstandard2.0 - - true - $(MSBuildProjectDirectory) - - - -