pichillilorenzo / flutter_inappwebview

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
https://inappwebview.dev
Apache License 2.0
3.26k stars 1.6k forks source link

[Bug][Windows] - Could not load file or assembly HolographicExtensions.dll HoloSHExtensions.dll and Windows.Devices.Printers #2301

Closed LUK3D closed 3 weeks ago

LUK3D commented 3 weeks ago

Environment

Technology Version
Flutter version 3.24.3
Plugin version ^6.1.0+1
Android version
iOS version
macOS version
Xcode version
Google Chrome version

Device information: CPU: Intel Core i9 12900K GPU: NVIDIA GeForce RTX 4090 MB: ASUSTeK COMPUTER INC. PRIME Z690-P WIFI RAM: Corsair CMT32GX5M2B5600C36 DDR5 - 16GB Corsair CMT32GX5M2B5600C36 DDR5 - 16GB STORAGE: Samsung SSD 980 PRO - 2TB KINGSTON SNV2S2000G - 2TB OS: Windows 11 PRO

Description

On windows, the app only run if the run command is executed in cmd. If you try to run it on vcs using run and debug feature it will crash.

Expected behavior: To be able to run and debug on VSCode Current behavior: The app crash

Steps to reproduce

  1. This
  2. Than that
  3. Then

Stacktrace/Logcat

EXEC : warning : Could not load file or assembly 'HolographicExtensions.dll' or one of its dependencies. The module should contain an assembly manifest. [D:\projects\flutter\typed_bpy_editor\build\windows\x64\plugins\flutter_inappwebview_windows\flutter_inappwebview_windows_DEPENDENCIES_DOWNLOAD.vcxproj]
EXEC : warning : Could not load file or assembly 'HoloSHExtensions.dll' or one of its dependencies. The module should contain an assembly manifest. [D:\projects\flutter\typed_bpy_editor\build\windows\x64\plugins\flutter_inappwebview_windows\flutter_inappwebview_windows_DEPENDENCIES_DOWNLOAD.vcxproj]
EXEC : warning : Could not load file or assembly 'Windows.Devices.Printers.Extensions.dll' or one of its dependencies. The module should contain an assembly manifest. [D:\projects\flutter\typed_bpy_editor\build\windows\x64\plugins\flutter_inappwebview_windows\flutter_inappwebview_windows_DEPENDENCIES_DOWNLOAD.vcxproj]
EXEC : warning : Could not load file or assembly 'HolographicExtensions.dll' or one of its dependencies. The module should contain an assembly manifest. [D:\projects\flutter\typed_bpy_editor\build\windows\x64\plugins\flutter_inappwebview_windows\flutter_inappwebview_windows_DEPENDENCIES_DOWNLOAD.vcxproj]
EXEC : warning : Could not load file or assembly 'HoloSHExtensions.dll' or one of its dependencies. The module should contain an assembly manifest. [D:\projects\flutter\typed_bpy_editor\build\windows\x64\plugins\flutter_inappwebview_windows\flutter_inappwebview_windows_DEPENDENCIES_DOWNLOAD.vcxproj]
EXEC : warning : Could not load file or assembly 'Windows.Devices.Printers.Extensions.dll' or one of its dependencies. The module should contain an assembly manifest. [D:\projects\flutter\typed_bpy_editor\build\windows\x64\plugins\flutter_inappwebview_windows\flutter_inappwebview_windows_DEPENDENCIES_DOWNLOAD.vcxproj]
EXEC : warning : Could not load file or assembly 'HolographicExtensions.dll' or one of its dependencies. The module should contain an assembly manifest. [D:\projects\flutter\typed_bpy_editor\build\windows\x64\plugins\flutter_inappwebview_windows\flutter_inappwebview_windows_DEPENDENCIES_DOWNLOAD.vcxproj]
EXEC : warning : Could not load file or assembly 'HoloSHExtensions.dll' or one of its dependencies. The module should contain an assembly manifest. [D:\projects\flutter\typed_bpy_editor\build\windows\x64\plugins\flutter_inappwebview_windows\flutter_inappwebview_windows_DEPENDENCIES_DOWNLOAD.vcxproj]
EXEC : warning : Could not load file or assembly 'Windows.Devices.Printers.Extensions.dll' or one of its dependencies. The module should contain an assembly manifest. [D:\projects\flutter\typed_bpy_editor\build\windows\x64\plugins\flutter_inappwebview_windows\flutter_inappwebview_windows_DEPENDENCIES_DOWNLOAD.vcxproj]
github-actions[bot] commented 3 weeks ago

👋 @LUK3D

NOTE: This comment is auto-generated.

Are you sure you have already searched for the same problem?

Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!

If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.

In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE] or ios WKWebView [MY ERROR HERE] keywords.

Following these steps can save you, me, and other people a lot of time, thanks!

pichillilorenzo commented 3 weeks ago

Check https://github.com/NuGet/Home/issues/6459

LUK3D commented 3 weeks ago

Check NuGet/Home#6459

Thanks. This command fixed my issue: choco install NuGet.CommandLine

github-actions[bot] commented 1 week ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.