How can I tell Visual Studio to regenerate files that are generated using Roslyn's incremental generator?
Context: I have a solution with a project containing custom generators and another project that uses these custom generators. Changing and building the project with custom generators does not regenerate files that were generated by the generators. How can I tell Visual Studio to force regenerate these files?
Note: Currently I have as a workaround to restart Visual Studio.
Note2: Build works OK. But IntelliSense of Visual Studio is broken. (The source code of generated files shown under Analyzers node is also outdated.) -- But unloading and reloading project that is using generators does not help.