namespace NextGenMapperDemo
{
[CrmEntity("person")]
public class Person
it generates the files. However , if we write
namespace NextGenMapperDemo;
[CrmEntity("person")]
public class Person
{
it does not generated
I think that the problems resides here
var @namespace = mapperSyntax.GetParent<NamespaceDeclarationSyntax>()!.Name.ToString();
var mapperNameSpace = mapperSyntax.GetParent<NamespaceDeclarationSyntax>()!.Name.ToString();
I believe that should be BaseNamespaceDeclarationSyntax
If we have
it generates the files. However , if we write
it does not generated
I think that the problems resides here
I believe that should be BaseNamespaceDeclarationSyntax
https://learn.microsoft.com/en-us/dotnet/api/microsoft.codeanalysis.csharp.syntax.basenamespacedeclarationsyntax
( I want to add to my list of Roslyn Source Code Generators from https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG )