Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity T4 Template Patch

openupm

Using T4 Template by Unity generated csproj.

Install

Package Manager

{
    "dependencies": {
        "com.xtaltools.unity-t4-patch": "https://github.com/neptaco/UnityT4TemplatePatch.git?path=Packages/UnityT4TemplatePatch"
    }
}

Patching to Csproj

Automatically search for files with extension .tt and generate an ItemGroup tag.

Generated from Assets/Scripts/Scripts/StringUtils.Generated.tt as follows

  <ItemGroup>
    <Content Include="Assets\Scripts\StringUtils.Generated.tt">
      <Generator>TextTemplatingFileGenerator</Generator>
      <LastGenOutput>StringUtils.Generated.cs</LastGenOutput>
    </Content>
  </ItemGroup>

License

This library is under the MIT License.

About

Using T4 Template by Unity generated csproj.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages