Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kant2002/rdxmllibrary

Library of RD.xml files for NativeAOT
https://github.com/kant2002/rdxmllibrary

corert nativeaot

Last synced: 4 days ago
JSON representation

Library of RD.xml files for NativeAOT

Awesome Lists containing this project

README

        

# RdXmlLibrary
Library of RD.xml files for NativeAOT

## Introduction

Currently compiling existing application using NativeAOT is non-trivial task where you should refactor you application, nudge ILC to add nescessary types missed during static analysis due to required reflection usage, etc.

This project want reduce pain during RD.xml creation by providing set of RD.xml files for libraries in the ecosystem.

## How to use

Look at the libraries which your app is using and add nescessary rd.xml files. For example if you using Avalonia and Sqlite with EF Core, copy files `Avalonia.rd.xml`, `Microsoft.EntityFrameworkCore.rd.xml` and `Microsoft.EntityFrameworkCore.Sqlite.rd.xml` to your app entry project, and add following snipped to your project file.
```



```

After that, if you need put customizations which are specific to your app, put them into `rd.xml` file.

## Related projects

- EF Core NativeAOT RdGenerator https://github.com/hez2010/EFCore.NativeAOT.RdGenerator

## Testing

```
dotnet test tests/
```

## License

This project is licensed under MIT.