Still having issues with this. The T4Executer.vsix file that is generated for VS2022 can be installed, but when opening VS2022 after install there's an error.
This is logged to AppData:
SetSite failed for package [TTExecuterPackage]Source: 'T4Executer' Description: Method not found: 'EnvDTE.Events EnvDTE._DTE.get_Events()'. System.MissingMethodException: Method not found: 'EnvDTE.Events EnvDTE._DTE.get_Events()'. at TTExecuter.TTExecuterPackage.RegisterEvents() at TTExecuter.TTExecuterPackage.d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Shell.AsyncPackage.<>cDisplayClass20_0.<b1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Threading.JoinableTask.d76.MoveNext()
When running it in debug, the extension gives no errors in VS2022. You can access the menu, but whenever an command is chosen (Configure eg.) there's nothing happening. Breakpoint on Execute method of the command isn't hit either.
Still having issues with this. The T4Executer.vsix file that is generated for VS2022 can be installed, but when opening VS2022 after install there's an error.
This is logged to AppData:
SetSite failed for package [TTExecuterPackage]Source: 'T4Executer' Description: Method not found: 'EnvDTE.Events EnvDTE._DTE.get_Events()'. System.MissingMethodException: Method not found: 'EnvDTE.Events EnvDTE._DTE.get_Events()'. at TTExecuter.TTExecuterPackage.RegisterEvents() at TTExecuter.TTExecuterPackage.d5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Shell.AsyncPackage.<>cDisplayClass20_0.<b1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Threading.JoinableTask.d 76.MoveNext()
When running it in debug, the extension gives no errors in VS2022. You can access the menu, but whenever an command is chosen (Configure eg.) there's nothing happening. Breakpoint on Execute method of the command isn't hit either.