Skip to content
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

🐛 Vogen source generator not working with Rider / .NET 9 / MacOS #692

Closed
danielmackay opened this issue Oct 28, 2024 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@danielmackay
Copy link

danielmackay commented Oct 28, 2024

Describe the bug

  • Rider 2024.2.7
  • .NET 9 RC 2
  • MacOS Sequoia

Source generation is not working

Steps to reproduce

  1. Clone https://github.com/danielmackay/Vogen.Rider.Bug
  2. Build solution
  3. Confirm source generators are missing
image
  1. Open Vogen.Console.csproj
  2. Change .NET version to 8
<TargetFramework>net8.0</TargetFramework>
  1. Confirm source generator are now working
image

Expected behaviour

Source generator should work on Rider with .NET 9 RC 2

@danielmackay danielmackay added the bug Something isn't working label Oct 28, 2024
@danielmackay
Copy link
Author

@SteveDunn
Copy link
Owner

Thanks for the report @danielmackay . I have seen this when I momentarily targeted a test project to use .NET 9. I thought it was an issue with Vogen, but you've just saved me what would probably be a lot of time investigating only to end up at that link!

@SteveDunn
Copy link
Owner

I've confirmed that this now works on the latest Rider RC. I'll leave this bug open for now as a steer for anyone else seeing it. Thanks again for the feedback @danielmackay !

@danielmackay
Copy link
Author

I have just tried out the above repo on Rider 2024.3 GA (released today), and can confirm this issue is fixed! 🥳

image

@SteveDunn
Copy link
Owner

Excellent news! Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants