-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReleaseNotes.txt
60 lines (43 loc) · 2.65 KB
/
ReleaseNotes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Version 1.6.0
1. Building chain bug fixes - some times metacreator was ingnored with warning "Build is requested but was not performed"
2. Both 'Compile' and 'None' build actions for *.cs and *.tt files are revieved for metacode.
3. *.tt files without CustomTool (Generator) attribute are processed by metacreator with regards to T4 syntax. DO NOT FORGET TO REMOVE CustomTool PROPERTY OF FILE!
4. Generated file now can be included into project using "FileInProject" dirrective.
5. Several additional dirrectives available:
assembly - for T4 <#@ assembly name="System.Core.dll" #> syntax, redirrects to "@reference" dirrective
import - for T4 <#@ import namespace="System.Linq" #> syntax, redirrects to "@using" dirrective
FileExtension - allows to specify custom extension of generated file (".cs" by default)
FileInProject - if exists, generated file is placed near source file, instead of intermediate path (e.g. "obj\debug\"). That file can be safely included in project. RO attribute is ignored, and restored after file modification in that case. Optionally you can specify file name as a parameter. In that case "FileExtension" dirrective is ignored, you should specify full name. Relative path is allowed (relative to source file path).
Comment - just dummy dirrective for comments in pseudocode
Convert - if specified: convert source file from MC to T4 and vice versia!
Version 1.5.5
1. /*@ Timeout 00:00:15 */ dirrective - allow specify metacode execution timeout (10 sec by default)
Version 1.5.4
1. installation improvement (disable ngen, move installer class to separate assembly, embed ico)
2. disable IL optimization for better error handling
3. improve error handling for certain situations
4. small bug with zero count of source files
Version 1.5
1. Fixes for app domain
2. Force UTF8-BOM for output files
Version 1.4
1. Support for net 4.0 in metacode
2. MSBuild 4.0 extension installation by MSI (VisualStudio 2010)
3. New dirrective /*@ CSharpVersion vX.X */
Version 1.3
1. Now you can use coupled metablocks:
/*! for (int i = 0; i < 10; i++) { */
public static string Pro/*= i */ { get; set; }
/*! } */
3. Support for files, linked to the project ("add existing files as link", with relative path)
4. Files with build action "None" (very typicatl for xml files, that used only inside metacode) now affects incremental building.
5. Finally, you can inject generator class body, like in T4:
/*+
class MyMetaClass_PropertyInfo
{
public string PropertyName { get; set; }
public string PropertyType { get; set; }
public string BackingFieldName { get; set; }
public bool GenerateNotification { get; set; }
}
*/