Comments (3)
You might want to start with a simple template to figure this out. First you need to wrap your raw T4 template into a T4 Toolbox Template
as described here. Then you can set Template.Output.File
and Template.Output.Directory
properties to control where the generated output will be saved as described here. Refer to doc comments in OutputItem.cs for details.
P.S. The articles haven't been updated in a while. I hope to eventually move them to GitHub Pages and looking for volunteers who can help with that.
from t4toolbox.
Hey Oleg
Thx for your answer. - First of all, the link, where the T4 Template should be descriebed, isn't working.
But I have read your Posts and I (think) I understood the Transformation with a "simple" class.
But as I said above, I use Inherits within my Code and I can't Inherit two classes. - This is, where I don't got the Clou how to solve this.
THX - And have a nice weekend
from t4toolbox.
I've fixed the link in my previous comment; sorry about that copy & paste error. Please help to understand the problem you are experiencing by providing
- a minimal repro, without code specific to your application
- a specific, detailed description of the problem, including transformation errors, build errors, etc
- a list of attempted solutions and their outcomes
from t4toolbox.
Related Issues (20)
- Add support for SQL server database projects HOT 1
- Release a version compatible with Visual Studio 2017 HOT 43
- Is there a way to transform using PowerShell msbuild -T4Toolbox.TransformationContextProcessor HOT 1
- Using T4Toolbox on .Net Core
- Is it possible to replace TAB by spaces?
- A processor named 'T4Toolbox.Xsd Processor' could not be found for the directive named 'xsd'. The transformation will not be run.
- Support for VS 2017
- Using templates in PCL Project (design time generation) HOT 1
- Add support fo *.ttinclude HOT 3
- Scaffold support
- Create files in multi projects HOT 1
- RemoteException when the generation lasts for more than 5-6 minutes
- T4 Toolbox randomly crashes Visual Studio 2017 HOT 2
- vs2015 can not open the project HOT 1
- T4 gallery
- T4 Toolbox for VS 2019 HOT 2
- SyntaxKind is missing HOT 1
- Support T4 Toolbox for VS 2019?? HOT 1
- Update? Fork? Successor? Community? HOT 2
- Need Support for VS 2022 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from t4toolbox.