fix generate c# code for row types

This commit is contained in:
John Colvin committed 2024-11-26 18:53:33 +00:00
1 parent 3142e62a10
commit 72c21912a1
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@
Name="GenerateRowTypes"
BeforeTargets="BeforeCompile"
Condition="'@(RowType)'!=''"
Inputs="%(RowType.SchemaJson)"
Inputs="%(RowType.SchemaJson);%(RowType.Identity)"
Outputs="$(IntermediateOutputPath)/RowTypes/%(RowType.TypeName).cs">
<MakeDir Directories="$(IntermediateOutputPath)/RowTypes" />
<Exec Command="dotnet t4 %(RowType.Identity) -p SchemaJson=%(RowType.SchemaJson) -p TypeName=%(RowType.TypeName) -p TableName=%(RowType.TableName) -o $(IntermediateOutputPath)/RowTypes/%(RowType.TypeName).cs" />