Rider: Error on [AutoConstructor] from nuget says "is not an attribute", classes with it give errors of having no constructors defined.
I'm working on a big solution with 15+ projects, using AutoConstructor NuGet. It compiles and runs with no problems, Visual Studio shows no errors here, while Rider finds 150+ errors in the solution, context menu doesn't give an option to not treat it as a problem, and I have a feeling I shouldn't really make this error itself disappear, but the fact it's doing it on a correct code is really frustrating as other errors through the solution become really hard to find.
I am kinda a newbie, so probably missing some really easy solution, google only gave me this solution, however, I am not sure what project exactly should I add it to and what is that source generator file as we don't have such, it comes from a NuGet. We do install the nugets onto the projects, however, using a different file to define all of their versions.
Sadly I can't provide any code or solutions with the problem, but it would be easily reproduced by installing AutoConstructor nuget and trying to use it for a class.
Thank you for any help!
Please sign in to leave a comment.
Hello E Tamosiunas
As I can see, you've already reported the issue to YouTrack and it was resolved by updating to the latest 2023.2 Rider version.
Feel free to contact us if you have any other questions or issues.
Have a great day!