-
Notifications
You must be signed in to change notification settings - Fork 418
Integrate templated code generation into project file #776
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #776 +/- ##
=======================================
Coverage 87.90% 87.90%
=======================================
Files 108 108
Lines 3473 3473
Branches 984 984
=======================================
Hits 3053 3053
Misses 272 272
Partials 148 148 Continue to review full report at Codecov.
|
To be reverted eventually.
This reverts commit 240c2b8.
Parallel build cause intermittent file locking errors since T4 tries to write to the same output file in parallel, for each target framework.
Unfortunately, parallel builds in MSBuild are incompatible with T4 code generation. It causes sporadic file locking issues when T4 tries to generate code to the same output file in parallel. The project therefore ends in an error if T4 code generation needs running but building is happening in parallel. Re-running with |
This PR integrates
dotnet t4
invocation directly intoMoreLinq.csproj
for the following benefits:dotnet build
tt.*
are not needed anymoredotnet t4
is not invoked unless one of the*.g.tt
files is touched