The moment I add a new type to Program.cs, the IncrementalGenerator stopped working. The other generator is working fine.
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Types in this assembly:");
foreach (Type t in typeof(Program).Assembly.GetTypes())
{
Console.WriteLine(t.FullName);
}
}
}
public class HereWeGo { }
If I then comment out that HereWeGo class, restart visual studio, then things restore back.
Hi Thanks for this simple tutorial.
The moment I add a new type to Program.cs, the IncrementalGenerator stopped working. The other generator is working fine.
If I then comment out that HereWeGo class, restart visual studio, then things restore back.