Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/johang88/StrideSourceGeneratorTest

Stride example for using source generators
https://github.com/johang88/StrideSourceGeneratorTest

Last synced: about 2 months ago
JSON representation

Stride example for using source generators

Awesome Lists containing this project

README

        

# Stride source generator example

Has a simple source generator that adds a string property named dummy do any class with the attribute `DummyAttribute`.

Projects:
* StrideSourceGeneratorTest.Generators - Source generator project
* StrideSourceGeneratorTest.csproj - Game project, references the generator project
* StrideSourceGeneratorTest.Windows.csproj - Windows executable project, references the game project

There are two sln files

* StrideSourceGeneratorTest.sln used in GameStudio, does not contain an explicit reference to the generator project, only references through the project reference in `StrideSourceGeneratorTest.csproj`
* StrideSourceGeneratorTest.Full.sln used in visual studio when developing the source generator, contains all projects