You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to scafffold-DbContext it works well for WPF, but there is a problem for WinUI 3 Blank App, Packaged and Template for WinUI 3.
Edition Windows 11 Pro
Version 22H2
Installed on 3/27/2023
OS build 22621.1555
Experience Windows Feature Experience Pack 1000.22640.1000.0
Visual Studio Professional 2022
17.5.3
How to reproduce an error:
Create a new project Blank App, Packaged (WinUI 3 in Desktop) or Template for WinUi 3
NuGet install:
Microsoft.EntityFrameworkCore.SqlServer 7.0.5
EntityFrameWorkCore.Tools 7.0.5
Run Scaffold-DbContext in Package Manager Console
Scaffold-DbContext -provider Microsoft.EntityFrameworkCore.SqlServer -connection "Data Source=...
Failed to load the dll from [C:\git\winUiSqlTest\App1\App1\bin\x86\Debug\net6.0-windows10.0.19041.0\win10-x86\hostpolicy.dll], HRESULT: 0x800700C1
An error occurred while loading required library hostpolicy.dll from [C:\git\winUiSqlTest\App1\App1\bin\x86\Debug\net6.0-windows10.0.19041.0\win10-x86\]
How to fix the problem?
Thank you in advance.
Original Comments
Feedback Bot on 4/20/2023, 09:36 AM:
(private comment, text removed)
marekp18 on 4/21/2023, 11:51 AM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered:
This issue has been moved from a ticket on Developer Community.
[severity:I'm unable to use this version]
Hello,
I want to scafffold-DbContext it works well for WPF, but there is a problem for WinUI 3 Blank App, Packaged and Template for WinUI 3.
Edition Windows 11 Pro
Version 22H2
Installed on 3/27/2023
OS build 22621.1555
Experience Windows Feature Experience Pack 1000.22640.1000.0
Visual Studio Professional 2022
17.5.3
How to reproduce an error:
Scaffold-DbContext -provider Microsoft.EntityFrameworkCore.SqlServer -connection "Data Source=...
How to fix the problem?
Thank you in advance.
Original Comments
Feedback Bot on 4/20/2023, 09:36 AM:
(private comment, text removed)
marekp18 on 4/21/2023, 11:51 AM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: