In the static void Main()
of my winforms app I get the following exception:
"Unable to cast object of type 'Microsoft.VisualStudio.HostingProcess.ParkingWindow' to type 'CSVImport.frmImport'."
This happened afte moving some functionality out to a public class. I build to framework 3.5.
Here is the kicker: When I start the app by stepping with f10, no exception occurs!
edit: If I start the process with a single F10 press and then F5, all is happiness.