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

[WIP] Feature/update to support 2022 #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Tim-Maes
Copy link
Owner

@Tim-Maes Tim-Maes commented Aug 14, 2022

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.d__5.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.<>c__DisplayClass20_0.<b__1>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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants