jjthomps
jjthomps
CC#
Created by jjthomps on 8/29/2023 in #help
❔ T4 Compiling transformation error
closed
10 replies
CC#
Created by jjthomps on 8/29/2023 in #help
❔ T4 Compiling transformation error
Hi @cypherpotato Managed to resolve it by leaving the project and the projects referenced on netstandard2.1. Was able to upgrade the other projects to dotnet 7.0
10 replies
CC#
Created by jjthomps on 8/29/2023 in #help
❔ T4 Compiling transformation error
This is the new error: Running transformation: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
10 replies
CC#
Created by jjthomps on 8/29/2023 in #help
❔ T4 Compiling transformation error
Hi @cypherpotato I already had those lines of code in place. The error is triggered by this line when I execute this line of code: <# List<T4HelperV2.ObjectToUse> listOfObjectsToGenerate = new List<T4HelperV2.ObjectToUse>(); ObjectToUse is contained within a .cs class file. This class is referenced as follows: <#@ assembly name="$(TargetDir)T4HelperV2.dll" #> <#@ import namespace="T4HelperV2" #> <#@ include file="$(ProjectDir)ModelMapper.cs" #>
10 replies