Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
twijg-ben opened this issue Sep 24, 2021 · 0 comments
Open

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

twijg-ben opened this issue Sep 24, 2021 · 0 comments

Comments

@twijg-ben
Copy link

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,

<#@ assembly name="[netcoreassemblyname]" #>

The error messages in the build log are as follows:
image

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant