MicrosoftEdge / MicrosoftEdge/WebView2Samples

WebView2WindowsFormsBrowser fails because of .NETFramework v=4.6.2 dependency

Open
#102 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
1k
Forks
521
Avg merge
13m
Merged PRs (30d)
1

Description

Nice if you could upgrade this to newer .NET 5 or 6. because .NET 4.6.2 is blocked from installing on win10

I tried running:
dotnet tool install -g upgrade-assistant
upgrade-assistant.exe upgrade .\WebView2WindowsFormsBrowser.csproj

It goes through, but when I clean or rebuild I still get warnings about .NET v462 missing.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with WebView2WindowsFormsBrowser.csproj and reproduce the clean or rebuild after running upgrade-assistant.exe upgrade .\WebView2WindowsFormsBrowser.csproj. Trace the remaining .NET Framework v4.6.2 dependency and update the project so the sample builds without warnings on the targeted newer .NET version.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.