MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Server 2012 R2 Test project not working with Citrix
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Description
Can't get a small test WPF project to work on server 2012. Comes up in a blank window. It works fine in windows 10
Here is the XAML:
<Window x:Class="WpfApp1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
xmlns:local="clr-namespace:WpfApp1"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<DockPanel>
<wv2:WebView2 Name="webView"
Source="https://www.microsoft.com"
/>
</DockPanel>
</Window>
and here is the c# code
using System.Windows;
namespace WpfApp1
{
///
/// Interaction logic for MainWindow.xaml
///
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
}
Version
SDK: 1.0.674-prerelease
Runtime: using the runtime 87.0.664.47
Framework: .NET 4.8
OS: Server 2012 no service pack
Repro Steps
-set up a minimal WPF project in visual studio with the code listed above along with .net framework 8
-deploy the solution along with the runtime(version listed above) to server 2012 R2
-should display a window with the embedded browser that navigates to www.microsoft.com
-What we are getting is a blank window. No error messages
Screenshots
Additional context
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal WPF XAML and MainWindow code in the issue, then reproduce it on Windows Server 2012 R2 with Citrix using the listed WebView2 runtime and framework versions. Review the existing comment thread for prior diagnostics and compare the blank result with the expected embedded microsoft.com page. Done means the deployed project displays a nonblank WebView2 window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100