SPToCore
SPToCore copied to clipboard
TT output compilation error
Hi, i downloaded project. try to compile.
in output SPToCoreT4.cs file on line 411 this.Write("\n"); bunch of syntax errors.
UPDATE: as i found out there is a } in line 68
).ToListAsync();<#}#> <#else{#>
i replaced to (moved } inside else block)
.ToListAsync(); <#}else{#>
removed compillation errors
Also, looks like exe file in SPToCore/blob/master/SPToCore/dist/SPToCore.exe is outdated. it creates modelBuilder.Query instead of modelBuilder.Entity (but there is a pull request where it fixed)