ignored a resharper setting
removed console window by changing program type to windows application