“Must use PackageReference”エラーを解決できない
今webview1を使おうとしているけどビルドが通らない
1>------ すべてのリビルド開始: プロジェクト:WindowsFormsApp1, 構成: Debug Any CPU ------
1>C:\Users\source\repos\WindowsFormsApp1\Form1.Designer.cs(72,17,72,60): warning CS0618: 'WebView' は旧形式です ('The WebView control will be replaced by WebView2 in the future. Read more at https://aka.ms/webview2')
1>C:\Users\source\repos\WindowsFormsApp1\Form1.Designer.cs(32,33,32,76): warning CS0618: 'WebView' は旧形式です ('The WebView control will be replaced by WebView2 in the future. Read more at https://aka.ms/webview2')
1> WindowsFormsApp1 -> C:\Users\source\repos\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe
1>C:\Users\source\repos\WindowsFormsApp1\packages\Microsoft.Windows.SDK.Contracts.10.0.18362.2005\build\Microsoft.Windows.SDK.Contracts.targets(4,5): error : Must use PackageReference
========== すべてリビルド: 0 正常終了、1 失敗、0 スキップ ==========
参考にしようとしてるページ
How to solve the error “Must use PackageReference”? (VS2017, C#, WinForms, WinRT)