TypeLitePlus icon indicating copy to clipboard operation
TypeLitePlus copied to clipboard

.Net core 7 and VS 2022

Open VincentMore opened this issue 1 year ago • 0 comments

Hi,

Are there some folk that managed to get TypeLitePlus working with .Net core 7 & VS 2022?

We have been using TypeLite & .tt in .net 4.x and vs 2017 but are upgrading to .net core 7 or 8.

Our current issue is more likely some binding.

Running transformation: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'    at Microsoft.VisualStudio.TextTemplating9559E76C43D7B87755E9F4EC71F8C0E522723FB1235CDF6E553AC19268DD705E8FA256F9FCD9510D0A0B128738D0F8A3F7226D8A1313799E77518530811E8F52.GeneratedTextTransformation.TransformText()    at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)    at Microsoft.VisualStudio.TextTemplating.TransformationRunner.PerformTransformation()   === Pre-bind state information === LOG: DisplayName = System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (Fully-specified) LOG: Appbase = file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/ LOG: Initial PrivatePath = NULL Calling assembly : TypeLitePlus.Tests.NetCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. === LOG: This bind starts in LoadFrom load context. WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load(). LOG: Using application configuration file: C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\T4VSHostProcess.exe.Config LOG: Using host configuration file:  LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config. LOG: Post-policy reference: System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

VincentMore avatar Apr 25 '23 17:04 VincentMore