You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, after I use [Inject] for Field Injection, SourceGenerator will have a reference exception.
After I tested, I found that this error will appear as long as I use namespace. If I remove the namespace, SourceGenerator can work normally.
Log:
Container.SourceGenerator\VContainer.SourceGenerator.VContainerSourceGenerator\TestGeneratedInjector.g.cs(18,39): error CS0246: The type or namespace name 'TestNamespace' could not be found (are you missing a using directive or an assembly reference? )
Hi, after I use [Inject] for Field Injection, SourceGenerator will have a reference exception.
After I tested, I found that this error will appear as long as I use namespace. If I remove the namespace, SourceGenerator can work normally.
Log:
Container.SourceGenerator\VContainer.SourceGenerator.VContainerSourceGenerator\TestGeneratedInjector.g.cs(18,39): error CS0246: The type or namespace name 'TestNamespace' could not be found (are you missing a using directive or an assembly reference? )
VContainer :1.13.2
Unity: 2022.2.19f1
This is a minimal case
VContainerTest.zip
The text was updated successfully, but these errors were encountered: