I am used to run my application without debugging (Ctrl+F5), and there was an error in Program.cs that was the origin of that message. Running with debugging let me find the faulty statement, and the message disapeared.