-
Notifications
You must be signed in to change notification settings - Fork 180
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
Always add .cs files generated by text templating #324
Always add .cs files generated by text templating #324
Conversation
// Always include files generated by text templating (.tt), even if they don't exist yet. | ||
// These files are expected to be absent during a clean build, as they are generated | ||
// during the build process. Therefore, they cannot be left out of the csproj file. | ||
AddContentGeneratedItem(itemGroups, ttFile, generatedFile, generator, false, _projectPathCapitalized, project, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AddContentGeneratedItem is only use here. we should remove the last parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the last parameter. Sorry for the long delay. Thanks for your attention!
@@ -0,0 +1,38 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to rebase. We changed this in main branch.
please rebase. |
Always include files generated by text templating (.tt), even if they don't exist yet. These files are expected to be absent during a clean build, as they are generated during the build process. Therefore, they cannot be left out of the csproj file.
5d55c77
to
5ac0751
Compare
Rebased, thanks! |
merged. thanks |
Always include files generated by text templating (.tt), even if they don't exist yet.
These files are expected to be absent during a clean build, as they are generated
during the build process. Therefore, they cannot be left out of the csproj file.