JetBrains / JetBrains/ForTea

Compatibility with .NET Core, .NET 5 and newer assemblies

Open
#56 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
58
Forks
13
Avg merge
5h 4m
Merged PRs (30d)
7

Description

If an assembly with preprocessed templates and helper methods has been built in .NET Core, .NET 5 or newer, then the Text Templating Engine is having trouble running templates that include these assemblies.

For instance,
```t4
<#@ assembly name="[netcoreassemblyname]" #>
```

The error messages in the build log are as follows:
![image](https://user-images.githubusercontent.com/58589570/134694937-39a23af5-1a3f-4f41-96ac-46902f79ed71.png)

It appears the .NET Framework 4.7.2 implementation doesn't support the latest `System.Runtime` that .NET Core and newer use.
Perhaps it would be possible that the T4 engine is built in .NET Core and .NET 5 as well, and .NET 6 whenever it becomes available?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.