Answer the question
In order to leave comments, you need to log in
How to connect to MySQL in C#?
I'm trying to connect to the database, an error occurs that something was not found there. I used the standard method described on off. site , it didn’t help ... I also found this info:
Sometimes an attempt to perform an Open on a connection object can fail, generating an exception that can be handled using standard exception handling code.
Answer the question
In order to leave comments, you need to log in
The problem was solved by one line inscribed in the PropertyGroup)))
<PropertyGroup>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
It is very similar to the fact that you copy-pasted the old code.
Open the app and update the nuget packages.
After that it should work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question