I have created an application using WinForms 4.0 (later changed to 4.6.1). Added to the project Windows Application Packaging Project and I add a reference to my application