Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove Features only used by SharpDX #107

@jkoritzinsky

Description

@jkoritzinsky

There are a variety of features in SharpGenTools that were only used by SharpDX. Now that SharpDX is unmaintained, it would be nice for code cleanliness to remove some of the more obscure features that I only kept in so SharpDX could move over to SharpGenTools.

Below are some of the features I'm planning on removing when I have time:

  • Remove Multi-Assembly support. The assembly tag will become a no-op and the default SharpGenIncludeAssemblyNameFolder behavior of false will become the only supported behavior.
  • Modifying SharpGenOutputDirectory from its default will be deprecated.
  • Remove support for alternative SharpGen runtime support libraries. The SharpGenGlobalNamespace property will be removed and SharpGen.Runtime will be the only supported runtime SharpGen runtime support library.
  • Bundle SharpGen.Runtime with the tools in the SharpGenTools.Sdk package. Having a single package will ensure that the runtime support and the code-gen are always correctly versioned together from the user perspective.
  • Support in SharpPatch for patching more than calli instructions. This support has been undocumented but left in because SharpDX used it.

Future explorations:

  • Exploring possibly removing the <context> directives
  • Consolidating the multiple different methods of overriding structure marshalling (custom vs static).

cc: @amerkoleci for input

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions