Closed ltrzesniewski closed 4 years ago
If you try to use a value tuple in template code, the generator will fail to build the template:
TestTemplate.tt(3, 9): [CS8356] Predefined type 'System.ValueTuple`3' is declared in multiple referenced assemblies: 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' and 'System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
Example template:
<#@ template language="C#" #> <# _ = (1, 2, 3); #>
This template executes fine with VS, but fails in Rider 2019.3.1.
Thank you for the report! Sorry for the very late reply, I didn't get the notification about this issue for some reason. We did indeed have some issues with referencing assemblies, they're fixed now.
If you try to use a value tuple in template code, the generator will fail to build the template:
Example template:
This template executes fine with VS, but fails in Rider 2019.3.1.