Make sure you delete intermediate, binaries and saved folders, regenerate the solution and try recompiling everything again.