-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need help with Roslyn #1051
Comments
I extracted the affected code to a minimal standalone setup that can be tested easily: |
@xtqqksszml yes, that's exactly the issue. Those fail for me too. I recreated the issue in the minimal project setup mentioned above: Still not sure how to fix it... any help is appreciated |
Solved by adding |
@sschmid Thank you. I just tried it again, and It was solved. |
Need help with Roslyn
I'm stuck on a roslyn issue and need help.
Setup:
I want to get the
ContextAttribute
from a component using Roslyn, e.g.Problem:
The
ContextAttribute
is not recognized.I created a branch with a failing unit test to reproduce and help debugging:
More info
Entitas.Context
instead ofEntitas.Plugins.Attributes.ContextAttribute("Test1")
AttributeClass
isExtendendErrorTypeSymbol
instead ofNonErrorTypedSymbol
System.Obsolete
is not recognizedMetadataReference
, but could not fix the Entitas attributesAssetComponent
similar to the test component, and the test passes.Summary:
Do I need to manually add more project or assembly references?
Am I loading the project wrong?
Do I somehow run the unit test in a different way as the code generator?
Any help is appreciated!
The text was updated successfully, but these errors were encountered: