So, our company is using SharePoint 2016 on premise and previously I have deployed a few custom solutions to it before and they work correctly.
Now however, I am trying to create/deploy a visual web part solution (farm solution only). Visual studio deploys the solution without errors but as soon as I open the site, it just gets stuck on "working on it". As soon as I retract the solution, it loads up just fine.
Any staring points on what I can do would be much appreciated. So far I have tried creating several different solutions, viewing the uls logs (nothing seems out of the ordinary).