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

Able to start traces with /noadmin but can't stop them #35

Open
akbyrd opened this issue Mar 3, 2023 · 1 comment
Open

Able to start traces with /noadmin but can't stop them #35

akbyrd opened this issue Mar 3, 2023 · 1 comment

Comments

@akbyrd
Copy link

akbyrd commented Mar 3, 2023

I'm using the latest version of VS and WPT and for some reason I cannot stop traces started with /noadmin. I am able to start traces with /noadmin I just can't stop them. I get the error message:

You are using a version of the MSVC toolset that does not support the `/noadmin` option. Please try updating your MSVC toolset to at least 16.11.

Microsoft (R) Visual C++ (R) Performance Analyzer 2.2.22080401
Microsoft Visual Studio Professional 2022 (64-bit) Version 17.5.1

I'm using the perf_msvcbuildinsights.dll from C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.29.30133. I copied it to C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit because the dll that came with the kit didn't work. When opening a trace I could see file names but no timing information.

@ChanceyC
Copy link

I'm also running into this with visual studio 2022. While it was working prior in vs 2019.

We seem to be hitting this error:
https://github.com/microsoft/vcperf/blob/master/src/Commands.cpp#L149

Although I don't see it mentioned at all in the result_code enum regardless of version: https://learn.microsoft.com/en-us/cpp/build-insights/reference/sdk/other-types/result-code-enum?view=msvc-170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants