Search Issue Tracker

Won't Fix

Votes

15

Found in

4.3.1f1

Issue ID

583240

Regression

No

Add T4 templates to user script projects

Scripting

-

While editing scripts in MonoDevelop, user has created text templating "T4 Template" file, which was successfully added in file hierarchy in MonoDevelop. Then user switched to Unity editor and switched back to MonoDevelop. Project's solution is always updated with T4 Template files being removed from hierarchy in MonoDevelop.

Reproduced on all versions from 4.2.2f1 to 4.5.0a4;

Repro steps:
1. Create new project in Unity editor;
2. Create new C# script;
3. Open this new file from editor with MonoDevelop;
4. In MonoDevelop create T4 Template file (File -> New -> File -> Text Templating -> T4 template). Name file and tick the box below to add this file to project's "Assets" folder;
5. Observe that T4 template file appears in the solution;
6. Switch to Unity editor, wait while editor finishes script compiling, switch back to MonoDevelop, wait while it refreshes the solution.
7. Observe that T4 Template file has gone from solution hierarchy.

------------

Create T4 templates using the existing MonoDevelop add-in for this once the Monodevelop/Rest Integration is shipped. Also, Unity does not have direct support for handling T4 templates.

To use T4 templates, please use Xamarin Studio or Visual studio in a separate solution (.sln)

Comments (23)

  1. TonyJosh

    Sep 20, 2024 10:23

    In Unity 5, there's now an option to include .tt (or other) extensions in the C# Visual Studio build. I found this on https:/ /vibox.co.uk/gaming-pcs It's unclear when exactly this feature was introduced or how far back it applies. You can access it by navigating to Edit -> Project Settings -> Editor -> C# Project Generation.

  2. TonyJosh

    Sep 20, 2024 10:18

    In Unity 5, there's now an option to include .tt (or other) extensions in the C# Visual Studio build. I found this on vibox.co.uk It's unclear when exactly this feature was introduced or how far back it applies. You can access it by navigating to Edit -> Project Settings -> Editor -> C# Project Generation.

  3. Fadimart

    May 16, 2023 22:05

    buzzoid.tech

  4. taylareganseo

    Jan 07, 2021 05:24

    Buy Instagram Followers Canada from Smmservices for $0.99. Get Instant Delivery, Real Followers and 24/7 Customer Support.

  5. ameliasmith8837

    Aug 24, 2020 07:53

    The association will moreover advancement website design enhancement streamlining administrations fitting carefully created official articulations and articles on high-PR lists and these will help get traffic and addition Page Rank. Next more https://socialpoint.ca/product/buy-10000-instagram-followers/

  6. shubhamswaraj2021

    Aug 18, 2020 16:52

    good one <a href="https://www.lyricsauto.com">lyricsauto</a>

  7. Giftyclassic

    Jul 16, 2020 09:37

    South Africa Music Download, get the latest South Africa Musical content online from Free MP3 Music Search and Download by Genre, Artist or Title. Download or Listen Online. https://amajamjam.com

  8. abhay5746403

    Jul 12, 2020 12:13

    If you are searching for Top 10 Best Android Games Under 100 MB,
    check it here : https://infoseekershub.com/top-10-best-android-games-under-100-mb/
    And also check How To Make Infographics
    here : http://visualsolutionsonline.com/how-to-make-infographics/

  9. salmanyasin342

    Jun 23, 2020 06:48

    The internet and social media provide young people with a range of benefits, and opportunities to empower themselves in a variety of ways. Young people can maintain social connections and support networks that otherwise wouldn't be possible, and can access more information than ever before. The communities and social interactions young people form online can be invaluable for bolstering and developing young people's self-confidence and social skills.
    https://buzzsocial.ca/

  10. abhay5746403

    Jun 18, 2020 06:09

    If you are searching for templates, get it from here : https://getmemetemplates.com/
    Thank You !!
    https://infoseekershub.com/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.