Skip to content

Null Reference Exception when trying to run the WinForms sample project #215

Closed
@Astral100

Description

@Astral100

As the title says, I can't even run the WinForms_GettingStarted sample:

image

Tried on both Visual Studio 2019 and 2022. Both are run as administrator.

My OS is Windows 10.

I also tried installing latest WebView2 runtime, and it didn't help.

What is going on?

P.S. When I tried following tutorial to create project from scratch, I was able to follow this tutorial until step 5 (inclusive):
https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/winforms
and it was working as expected (I was able to see microsoft website appearing as expected)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions