You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/scripting/creating_script_templates.rst
+23-14Lines changed: 23 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,12 @@ This is an example of utilizing custom templates at editor and project level:
121
121
visible throughout the project's filesystem anymore, yet the templates can be
122
122
modified by an external text editor anytime.
123
123
124
+
.. tip::
125
+
126
+
By default, every C# file inside the project directory is included in the compilation.
127
+
Script templates must be manually excluded from the C# project to avoid build errors.
128
+
See `Exclude files from the build <https://learn.microsoft.com/en-us/visualstudio/msbuild/how-to-exclude-files-from-the-build>`_ in the Microsoft documentation.
129
+
124
130
It is possible to create editor-level templates that have the same level as a project-specific
125
131
templates, and also that have the same name as a built-in one, all will be shown on the new script
126
132
dialog.
@@ -190,20 +196,23 @@ which are currently implemented.
0 commit comments