typelite


Typelite Converts All Classes


I want to configure Typelite to only convert specific classes.
This is the TypeLite.tt:
<## template debug="false" hostspecific="True" language="C#" #>
<## assembly name="$(TargetDir)TypeLite.dll" #>
<## assembly name="$(TargetDir)TypeLite.Net4.dll" #>
<## assembly name="$(TargetDir)$(TargetFileName)" #>
<## assembly name="$(TargetDir)Mydll.dll" #>
<## import namespace="TypeLite" #>
<## import namespace="TypeLite.Net4" #>
<##output extension=".d.ts"#>
<#= TypeScript.Definitions()
.For<Mydll.X.Y.Z>()
%>
Z is a class, which is the only one I want converted to Typescript.
However, the output in TypeLite1.d.ts (TypeLite.d.ts is empty) is all the classes/enums/structs under Mydll.X namespace.
What am I doing wrong?

Related Links

Typelite “Cannot load file or assembly” Autofac
TypeLite fresh install doesn't work
How to change TypeLite Output Directory
How to setup TypeLite to build types in other projects
Variant type and non, with same name
Ignoring types with fluent configuration in Typelite
IMemberIdentifier missing from TypeLite.TsModels namespace
Typelite Converts All Classes
Fluent module name change
TypeLite generate external modules?
Typelite: Why is Dictionary<string, object> mapped to KeyValuePair and not to any or [index:string]:any

Categories

HOME
entity-framework
magento2
knockout.js
libgdx
android-studio
focus
activex
kivy
android-emulator
yql
moodle-api
scheduler
log4j2
fresco
google-tasks-api
nullreferenceexception
parceler
clr
anova
pyopencl
morris.js
python-appium
code-climate
javax.persistence
dnsmasq
substance
google-play-developer-api
toad
mongodb-3.4
rust-cargo
xmlunit
nppexec
formsauthenticationticket
get-event-store
secure-coding
reverse-dns
axis
ssi
nothing
password-hash
ipywidgets
e
data-management
wolfram-language
unsigned
polymerfire
flush
wepay
ui4j
arbre
asp.net-web-api-helppages
pythonxy
green-threads
android-handler
componentart
actionpack
python-curses
maven-shade-plugin
dmake
inputbox
multivariate-testing
coding-efficiency
forio-contour
blobstorage
flv
ntlmv2
significant-digits
dojo-1.9
idispatch
image-formats
prototypal-inheritance
firefly-mv
nosetests
uipasteboard
aptitude
outlook-2007-addin
google-translator-toolkit
spring-modules
processors
subtext
chronic
community-server

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App