WakaTime is not working on VS 2022 Professional
Closed this issue · 6 comments
qianyanglm commented
win10 This problem has a long time ,Please how much time does writer will solve this problem Please?
alanhamlett commented
Are you using this version of the extension?
https://marketplace.visualstudio.com/items?itemName=WakaTime.WakaTime-2022
qianyanglm commented
yes, it is 13.0.2 .sometimes it works ,soemtimes it doesnot work
alanhamlett commented
What happens when it doesn't work?
qianyanglm commented
This is the error:
[WakaTime HandledException 09:22:55 AM] Error installing dependencies: System.Threading.Tasks.TaskCanceledException: 已取消一个任务。
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 WakaTime.Shared.ExtensionUtils.Dependencies.<DownloadFile>d__22.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 WakaTime.Shared.ExtensionUtils.Dependencies.<InstallCli>d__11.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 WakaTime.Shared.ExtensionUtils.Dependencies.<CheckAndInstallCli>d__9.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 WakaTime.Shared.ExtensionUtils.Dependencies.<CheckAndInstall>d__8.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 WakaTime.Shared.ExtensionUtils.WakaTime.<InitializeAsync>d__13.MoveNext()
alanhamlett commented
Can you try using a VPN when starting Visual Studio? It looks like a networking problem when the extension is trying to download wakatime-cli from GitHub.
qianyanglm commented
Thank you!!! I used VPN ,Now it works,thank you very much. I love it