actually i m not trying to mock anything i m doing
MockManager.Init();
new Form1().Show();
i hope we are speaking for the same manner
OK, let try the following:
*Please read carefully*
1. Did you close all the testing processes before installation? If not please restart all the testing applications (GUI's, Visual Studio, Consoles).
2. Is the TypeMock library copied locally (Choose TypeMock under References in the Solution View and check if the Local Copy Property is false) ? If not please delete the copy from the output library and change Local Copy to false. To check if you are using the correct library (2.1) see if you have the Clear method for Mock classes, or look at the version in the Property View.
3. How long does it take to run without the
MockManager.Init(); line?
4. If all these are ok, Please look at the
How to submit bugs topic, run the tests in
console mode, and look at the
TypeMock.out file to see what methods are being Monitored, if there are a lot, this might be the reason. Submit the file and we will be able to analyse it.