aws / aws-toolkit-visual-studio

AWS Toolkit for Visual Studio - a plugin to interact with AWS
https://aws.amazon.com/visualstudio/
Apache License 2.0
111 stars 29 forks source link

Unable to find an entry point named '?' in DLL 'WebView2Loader.dll' #450

Closed hmadrigal closed 4 months ago

hmadrigal commented 4 months ago

Describe the bug Since I have installed the product AWS Q in my Visual Studio Community, it has never loaded the Chat feature. It shows an error which says Error loading chat. Restart Visual Studio or review logs in Amazon Web Services output window for troubleshooting

Base on the message, here is the log info (before restarting):


Initializing: Amazon Q Language Client
Launching Amazon Q Language Server v2.0.0 from local cache location: C:\Users\johndoe\AppData\Local\aws\toolkits\language-servers\AmazonQ\2.0.0 (Attribution notice for aws-lsp-codewhisperer can be found at: https://aws-language-servers.us-east-1.amazonaws.com/a8dafbc7-b928-4ca5-82b4-c261f51dd39f/THIRD_PARTY_LICENSES)
Activating: Amazon Q Language Client
Initialized: Amazon Q Language Client
Reconnected to Amazon Q with awsBuilderId:amazonQ
Error occurred while attempting to determine if WebView2 runtime is installed. Error: Unable to find an entry point named '?' in DLL 'WebView2Loader.dll'.
Loading Amazon Q Chat UI: C:\Users\hfmad\AppData\Local\aws\toolkits\language-servers\AmazonQ\2.0.0\clients\amazonq-ui.js

To Reproduce I do not have any specific steps to reproduce

Expected behavior It should load the chat and allow interaction

Screenshots

Toolkit Logs

log_2024-07-14_22-17-54_16692.txt

Development System (please complete the following information):

Additional context

awschristou commented 4 months ago

Hi @hmadrigal , thank you for reaching out.

It sound like you were using version 1.54.0.1 of the extension. Can you please update to the latest version of the extension and try again? If it fails, please attach that log. It contains additional details that may help us in understanding when this problem occurs.

hmadrigal commented 4 months ago

@awschristou Thank you for the quick response. It loaded well after I ran the update.