'Could not load file or assembly 'Microsoft.Data.SqlClient' in .NET 6
I have developed a WPF app on .NET 5 (CRUD operations with Entity Framework Core). MSI packages are built with Wix toolset. Up to here everything works.
I am currently trying to convert the app to .NET 6. Everything runs perfectly, the Nuget packages can all be updated, building the MSI packages also works.
After installation on the client PC, the following message appears and the app crashes:
Could not load file or assembly "Microsoft.Data.SqlClient, Version=2.0.20168.4, Culture=neutral, ..." The system cannot find the file specified.
Thanks for any help or ideas...
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|