-
Notifications
You must be signed in to change notification settings - Fork 28
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
Visual Studio 2022 - Context Menu Buttons not working, Frontend does not launch #83
Comments
Hi @MikeH2023! Can you please provide the logs from: P.S. Ulikely, but an experimental version might work: https://github.com/tyoma/micro-profiler/releases/download/v2.0.653.0/micro-profiler_x64.v2.0.653.0.vsix |
@tyoma |
I have the same problem, with Microsoft Visual Studio Professional 2022 (64-bit) - LTSC 17.4 |
Here are the contents of micro-profiler_vspackage.log: 20230825T085307.331Z I ---------- Application logging started. |
Here are the contents of micro-profiler_vspackage-2.log: 20230825T085854.346Z I ---------- Application logging started. |
Here are the contents of micro-profiler..exe.log: 20230825T095324.481Z I ---------- Application logging started. |
This was the first time that I tried to use the MicroProfiler with Visual Studio 2022. I've used it without problems with older versions of Visual Studio and was very happy with it. I hope you can figure out what's going wrong. |
I'm having significant issues getting the micro-profiler to work with on C++ projects with Visual Studio 2022.
I'm using VisualStudio 2022 (64bit, v17.4.2) and I attempted both downloading the plugin via the VisualStudio Markedplace and as .vsix and .msi releases from here (v2.0.650.0 and v2.0.653.0). The only other plugins would be the Qt-Addin (for Qt), Visual AssistX, and GitExtensions.
After installing the microprofiler get the relevant entries under extensions and the right-click context menu of my projects ("enable profiling" and - oddly enough - "remove profiling support" despite me not having added profiling support to the project yet). However clicking on either entry does not result in anything happening - "enable profiling" does not get check-marked, "remove profiling support" does not do anything.
Manually adding the profiling support (via the /GH /Gh switches and including the microprofiler library, as shown in the guide) does not change the state of either context menu. Rebuilding and launching the application will however not open the profiling window (nor will launching the application outside VisualStudio). I've tried removing the frontend.dll, which WILL cause an error to be thrown due to a missing dll, and not including the library file will result in compile errors so I assume the instrumentation is being included correctly, but I am at a loss as to why it does not work.
The text was updated successfully, but these errors were encountered: