Skip to content

Migrate to .NET 5 #5

@r-Larch

Description

@r-Larch

Migrate to .NET 5.

Native DllExports
Look if DNNE can to the job.

Injecting the Plugin Wrapper Code
Try to use c# Source Generators
to dynamically generate and inject wrapper classes.

Build Task static Assembly analysis
Try to use System.Reflection.PortableExecutable.PEReader as used by DNNE.
To read plugin type information needed for post-processing and zip generation.

Project Structure

  • TcBuild
    • as one nuget containing everything needed,
      or as meta nuget referencing everything as distinct nugets
  • TcBuild.Generator
    • source generator
  • TcBuild.Target
    • post processing build target
  • TcPluginBase
    • Base types required for plugin authors

Steps

  • Proof of concept - (net 5 + native exports + source generator)
  • Create a working TcBuild nuget
  • Implement FileSystem Plugin
  • Implement Lister Plugin
  • Implement Content Plugin
  • Implement Packer Plugin
  • Implement QuickSearch Plugin

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions