❔ Source Generators stopping Hot Reload in VS 2022

Got a source generator (I didn't write it, someone I'm working with did tho) and it works in VS with Intellisense and during build. However, if I run the program, intellisense stops recognizing the generated files, so if I were to use breakpoints or try to hot reload, I would have to rebuild. Don't know if it can be fixed or not, also don't know particularly much about source generators themselves either. Google hasn't yielded any results after some quick searches.
4 Replies
Destructor_Ben
Destructor_Ben10mo ago
@basically, i am little cat < Author of source generator Can send code if needed
Destructor_Ben
Destructor_Ben10mo ago
nobody cares ;-;
Accord
Accord10mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
✅ CalcBinding "object not set to value" errorI'm using CalcBinding to bind some properties with `{CalcBinding:Binding 'SelectedValue == Defs:LogI❔ How to censor a bad word in capital letters without changing original letters case?I'm trying to loop through a list of bad words to filter them out, but when their case is different Delegate caching. Is it safe to use or some dirty hack to avoid? (code below)Here's some delegate caching into struct... ```cs using System; public class InstanceHandler<T> wh✅ Using SQLite with C#The next project of the C# Academy is creating a habit tracker. I'm a little confused on the SQLite ✅ public static async Task Main instead of public static void Main for dsharpplus setup?In tutorials I see that they use void, and they call an async method using GetAwaiter().GetResult().✅ ✅ C# Academy Calculator Project Challenge -- Counting Times UsedCalculator.mekasu0124/Program.cs - https://pastebin.com/Wvz9eHUM ClassLibrary/CalculatorLibrary.cs -✅ C# Academy Math Game Issues```cs public void StartDivGame(string username, DateTime date, int totalQuestions, string difficulty❔ Execute / Run local project `.csproj` NuGet packageI have a `package` installed from `NuGet` : https://github.com/killwort/dotnet-bump, and supposedly ✅ Blazor vs Razor PagesHello lovers of C#, I have a passion project that is basically a recipe manager. At the moment i'm✅ Reading Secret.jsonHi, I want to read my secrets.json file, I set it but it doesnt work my secrets.json: ``` { "Pla