This solved it for me:
create a new form, go to MyProject change the application framework to something else, then change it back, then select the new form..