Answer the question
In order to leave comments, you need to log in
Windows.Form c# how to resurrect a form?
Good day to all. There was a need to change the form, but when trying to give an alert, "Could not load file or assembly "MySql.Data, Version=6.8.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" or one of their dependencies. Cannot find the specified file." . If you do nothing, then everything works, but if you try to fix something, the whole system crashes with the same phrase "Failed to load file or assembly "MySql.Data, Version=6.8.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" or one of their dependencies. The specified file cannot be found. ". The reason is known, some eccentric corrected in the code what was described by the constructor, how to track and fix this "breakage"?
Answer the question
In order to leave comments, you need to log in
install through the VS console
or just on the command line
and then use the pens to specify the link to the assembly in the project.
If some eccentric corrected something and everything broke - you need to start using version control systems (any - git, svn, tfs, hg - absolutely do not care).
If your program screams that it can’t load any assembly:
1) figure out what the assembly is
2) figure out where it looks for it
3) figure out if it is needed at all
4) fix the links or reinstall the necessary packages (yes, it’s better to use nuget than to copy the link and poke the program in the place where it lies)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question