So, I\'m working on this project between my laptop and my desktop.
The project works on the laptop, but now having copied the updated source code onto the desktop, I
I had this problem in my main project when I referenced a dll file.
The problem was that the main project that referenced the dll was targeting a lower framework version than that of the dll.
So I upped my target framework version (Right-click project -> Application -> Target framework) and the error disappeared.