DevTeam / Pure.DI

Pure DI for .NET
MIT License
530 stars 22 forks source link

Code generation errors when using Unity #73

Open NikolayPianikov opened 2 weeks ago

NikolayPianikov commented 2 weeks ago
  1. Download Unity Hub and Unity version 6000.0.26f1 (platform is not important)
  2. Download https://github.com/xchesh/Pure.DI.Unity
  3. Open the project in Unity.

At this stage you will see code generation errors.

image image

NikolayPianikov commented 1 week ago

The problem seems to be that the Unity editor doesn't handle code generators correctly. Here are some more posts on this topic: