Building entry.tp file by analyzing the code.
Made in the spirit of the great Java SDK, using the TouchPortalSDK.
What I want this to do:
- Create entry.tp file
- Call the correct actions etc.
- Create .tpp file
Things I have tried:
- Souce Generators:
Should be used for generating source code, not resources (may change).
Will need to be crated per language, ex. one for C# one for VB.Net etc.
- MSBuild custom task:
Uses standard reflection.
Issues like locks from MSBuild.exe etc.
Hard to make work for both .Net 4x and netstandard.
Might be the ultimate solution here.
- dotnet CLI tools:
Might only work for new csproj type, and that would be Ok.
Might be the simplest solution.