Skip to content

johang88/StrideSourceGeneratorTest

Repository files navigation

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

About

Stride example for using source generators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages