forked from ravendb/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathT4MVC.tt.settings.xml
92 lines (92 loc) · 5.32 KB
/
T4MVC.tt.settings.xml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="utf-8"?>
<MvcSettings>
<!--The namespace used by some of T4MVC's generated code-->
<T4MVCNamespace>T4MVC</T4MVCNamespace>
<!--The prefix used for things like MVC.Dinners.Name and MVC.Dinners.Delete(Model.DinnerID)-->
<HelpersPrefix>MVC</HelpersPrefix>
<!--Namespaces to be referenced by the generated code-->
<ReferencedNamespaces>
<!--<Namespace></Namespace>-->
</ReferencedNamespaces>
<!--The folder under the project that contains the areas-->
<AreasFolder>Areas</AreasFolder>
<!--You can list folders containing portable areas here-->
<PortableAreas>
<!--<Area></Area>-->
</PortableAreas>
<!--Name of folder in your project root that follows the FeatureFolder convention (controllers and views are placed within the same folder)-->
<!--<FeatureFolderRootArea></FeatureFolderRootArea>-->
<!--Names of areas which follow the FeatureFolder convention (controllers and views are placed within the same folder).
Use <Area>*</Area> if you only use Areas with FeatureFolders-->
<FeatureFolderAreas>
<!--<Area></Area>-->
</FeatureFolderAreas>
<!--Choose whether you want to include an 'Areas' token when referring to areas.
e.g. Assume the Area is called Blog and the Controller is Post:
- When false use MVC.Blog.Post.etc...
- When true use MVC.Areas.Blog.Post.etc...-->
<IncludeAreasToken>False</IncludeAreasToken>
<!--The folder under the project that contains the controllers-->
<ControllersFolder>Controllers</ControllersFolder>
<!--The folder under the project that contains the views-->
<ViewsRootFolder>Views</ViewsRootFolder>
<!--Views in DisplayTemplates and EditorTemplates folders shouldn't be fully qualifed
as it breaks the templated helper code-->
<NonQualifiedViewFolders>
<ViewFolder>DisplayTemplates</ViewFolder>
<ViewFolder>EditorTemplates</ViewFolder>
</NonQualifiedViewFolders>
<!--If true, the T4MVC action result interface will be generated
If false, the namespace of the interface must be referenced in the 'ReferencedNamespaces' setting-->
<GenerateActionResultInterface>True</GenerateActionResultInterface>
<!--If true, [new] overrides will be created for async actions on AsyncControllers
This breaks the Go To Definition function for async actions.-->
<SupportAsyncActions>False</SupportAsyncActions>
<!--If true, use lower case tokens in routes for the area, controller and action names-->
<UseLowercaseRoutes>False</UseLowercaseRoutes>
<!--The namespace that the links are generated in (e.g. "Links", as in Links.Content.nerd_jpg)-->
<LinksNamespace>Links</LinksNamespace>
<!--The namespace that raw URLS used for bundles are generated-->
<AssetsNamespace>Assets</AssetsNamespace>
<!--If true, links to static files include a query string containing the file's last change time.
This way, when the static file changes, the link changes and guarantees that the client will re-request the resource.
e.g. when true, the link looks like: "/Content/nerd.jpg?2009-09-04T12:25:48"
See http://mvccontrib.codeplex.com/workitem/7163 for potential issues with this feature-->
<AddTimestampToStaticLinks>False</AddTimestampToStaticLinks>
<!--Folders containing static files for which links are generated (e.g. Links.Scripts.Map_js)-->
<StaticFilesFolders>
<FileFolder>Scripts</FileFolder>
<FileFolder>Content</FileFolder>
</StaticFilesFolders>
<!--If true, static file helpers are generated for all view folders. See https://t4mvc.codeplex.com/discussions/445358-->
<AddAllViewsFoldersToStaticFilesFolders>False</AddAllViewsFoldersToStaticFilesFolders>
<!--Static files to exclude from the generated links-->
<ExcludedStaticFileExtensions>
<Extension>.cs</Extension>
<Extension>.cshtml</Extension>
<Extension>.aspx</Extension>
<Extension>.ascx</Extension>
</ExcludedStaticFileExtensions>
<!--Files to exclude from the generated views-->
<ExcludedViewExtensions>
<Extension>.cs</Extension>
<Extension>.master</Extension>
<Extension>.js</Extension>
<Extension>.css</Extension>
</ExcludedViewExtensions>
<!--When creating links with T4MVC, it can force them to HTTPS if the action method you are linking to requires Http.-->
<AttributeIndicatingHttps>System.Web.Mvc.RequireHttpsAttribute</AttributeIndicatingHttps>
<GenerateSecureLinksInDebugMode>False</GenerateSecureLinksInDebugMode>
<!--Set this to false to omit the generation of parameters for action methods.-->
<GenerateParamsForActionMethods>True</GenerateParamsForActionMethods>
<!--Set this to true to omit the generation of parameters for action methods as constants. Choose this or GenerateParamsForActionMethods.-->
<GenerateParamsAsConstantsForActionMethods>False</GenerateParamsAsConstantsForActionMethods>
<!--The suffix added to action method names for the property containing the parameters, for example ImportParams
for the Import action method.-->
<ParamsPropertySuffix>Params</ParamsPropertySuffix>
<!--create explicit HtmlHelpers for rendering partials-->
<ExplicitHtmlHelpersForPartials>False</ExplicitHtmlHelpersForPartials>
<ExplicitHtmlHelpersForPartialsFormat>Render{0}</ExplicitHtmlHelpersForPartialsFormat>
<!--If true,the template output will be split into multiple files.-->
<SplitIntoMultipleFiles>True</SplitIntoMultipleFiles>
</MvcSettings>