Lyno
Lyno
CC#
Created by Lyno on 1/15/2024 in #help
source generator
i see.. how would i output as a resource?
17 replies
CC#
Created by Lyno on 1/15/2024 in #help
source generator
No description
17 replies
CC#
Created by Lyno on 1/15/2024 in #help
source generator
private void Generate(SourceProductionContext context, (Compilation compilation, ImmutableArray<(string, string)> files) value)
{
var content = "{}";

context.AddSource("test.json", content);
}
private void Generate(SourceProductionContext context, (Compilation compilation, ImmutableArray<(string, string)> files) value)
{
var content = "{}";

context.AddSource("test.json", content);
}
this is what i have currently and it generates a "test.json.cs" file instead
17 replies
CC#
Created by Lyno on 1/11/2024 in #help
System.IO.Pipelines.ReadResult
aah i see, thats odd ive never seen this before and my IDE isnt telling me about it but thank you appreciate the help
7 replies
CC#
Created by Lyno on 1/11/2024 in #help
System.IO.Pipelines.ReadResult
yes
7 replies