CommunityToolkit / Microsoft.Toolkit.Win32

ARCHIVE - This repository contained XAML Islands wrapper controls and tooling for XAML Islands with WinUI 2, see readme for more info about XAML Islands with WinUI 3 and the WindowsAppSDK.
https://aka.ms/windowsappsdk
Other
383 stars 89 forks source link

[WebView] Unable to build project using WebView on Windows Server 2012 R2 #261

Open progdogusmc opened 4 years ago

progdogusmc commented 4 years ago

Hello, I have a project that's using a WebView control and our build server is running on Windows Server 2012 R2.

When we build the application on our dev machines running Windows 10 everything works fine, but when the builds produced by our server are run on Windows 10 machines we receive a "Could not load file or assembly 'System.Runtime.WindowsRuntime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" exception.

The builds we produce on our server run fine on the server but they appear to create a WebView control that has an Internet Explorer instance instead of an EdgeHTML instance. We tried installing the Windows 10 SDK on the machine but it didn't resolve the issue. Is there any way to build a project that uses WebView on Windows Server 2012 R2 and have it work properly?

Thank you.

Kyaa-dost commented 4 years ago

@pagoe-msft ⬆️