Closed viceroypenguin closed 6 months ago
When editing code in a project in VS 17.9.4, a CS8785 is generated in visual studio. This exception is not reported on the command line.
In a blank project with Vogen 4.0.3 referenced, use the following code:
[assembly: VogenDefaults(conversions: Conversions.Default)] Console.WriteLine("Test"); [ValueObject] public readonly partial record struct TestId;
There will be no compiler errors presented by Visual Studio.
Thanks for the bug report. This duplicates #589 and will be fixed in v4.0.4
Describe the bug
When editing code in a project in VS 17.9.4, a CS8785 is generated in visual studio. This exception is not reported on the command line.
Steps to reproduce
In a blank project with Vogen 4.0.3 referenced, use the following code:
Expected behaviour
There will be no compiler errors presented by Visual Studio.