This is another reason for good, solid unit & integration testing. You shouldn't need a special WinForm just for testing.
>I found that program.cs file somehow is added to Middleware project in addition to being in test project. This seems to be a mistake, I don't know how did this happen. May be I accidentally dragged it into a wrong place although I don't think I did.
>
>I'll remove it and see if it will fix the problem.
>
>UPDATE. The project now compiled OK.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer