Comments (1)
The template engine and language currently has no notion of using NuGet packages, target framework monikers and many things that would be needed to have templates work as smoothly as they did under .NET Framework. Using anything beyond the very basics available in .NET Core is going to be difficult. The right expectation to keep is that T5 will pretty much work (for now) for very simple templates that:
- use C# (i.e.
<#@ template language="C#" #>
) - don't rely on a specific host (i.e.
<#@ template hostspecific="false"
). - independent of the IDE (i.e. no
<#@ Assembly name="EnvDTE" #>
). - don't require external assembly references (i.e. no
@Assembly
directive).
See my comment in mono/t4#8 about the goal and scope of T5. If you wish for more complete support so that you have to make the least amount of changes in your templates then mono/t4 is a better place to ask and look for that as @mhutch has much more ambitious plans for T4.
I'm going to close this as out of scope.
from t5.
Related Issues (12)
- Template using VB fails with compilation errors HOT 1
- Tools HOT 1
- Tools HOT 1
- Tools HOT 1
- Tools HOT 1
- Tools HOT 1
- Having trouble with syntax HOT 7
- Publish as a .NET Core (2.1) Global Tool HOT 5
- Critical Memory Leak HOT 3
- Generation error if parameter directive is used HOT 6
- Does this support VS 2017 IntelliSense or syntax highlighting? HOT 1
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 t5.