-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
T4 Template no longer build #405
Comments
The GH source view isn't showing it. Can you PR to the dev branch? |
I removed the line and it still doesnt work. |
I found out that your build doesnt work in .net 4.5.2 or prob .net 4.5. I had to downgrade to .net 4 to get it to work. |
switching to dapper because it simply doesnt work |
@ pleb @ramseur |
The .tt and .ttinclude files in the PetaPoco 5.1.259 nuget package use LF line endings. After converting them to CR-LF line endings, database.cs is generated succesfully. |
Ah thanks. Any chance of a pr?
I'll also add a unit test to prevent this
…Sent from my iPhone
On 27 Jul 2017, at 5:30 am, Sjaaky ***@***.***> wrote:
The .tt and .ttinclude files in the PetaPoco 5.1.259 nuget package use LF line endings. After converting them to CR-LF line endings, database.cs is generated succesfully.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I wasn't planning on making a PR, sorry. |
see comment on #368 |
hi, do you want to try this tool PetaPoco.DBEntityGenerator I just built? I've ported the T4 template into this tool. It supports net core. |
Cool beans. I'm giving it a try. |
@hippasus I've added your tool to the Add-ons list. Nice work! |
Your T4 template [PetaPoco.Core.ttinclude] contains a new line after #> which will cause it to fail as no literals are allowed outside of those brackets.
check --> PetaPoco.Core.ttinclude
remove new line at the end of the file.
The text was updated successfully, but these errors were encountered: