'Could not load file or assembly after visual basic publishing

How do I fix the error “System.IO.FileNotFoundException: Could not load file or assembly 'FontAwesome.Sharp”? i get it after pulishing my vb.net windows form application.



Solution 1:[1]

Check the References page of the project properties. Each reference has a Copy Local property. If that is set to True, the assembly will be copied to the output folder when you build, so it can be deployed along with the application EXE. Only set that to False if you expect the assembly to be installed in the Global Assembly Cache (GAC) on target machines. If the assembly is in the GAC on your development machine then that property will be set to False by default.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 John