VS 2010 Unit Test Not Releasing DLL and not performing MyClassCleanup()

已答覆 VS 2010 Unit Test Not Releasing DLL and not performing MyClassCleanup()

  • Sunday, April 01, 2012 10:07 PM
     
     

    I am performing unit tests using VS2010 and DotNetNuke.  No additional test tools have been added.

    For some I finish a unit test and run another one to find my DLLs are already in use and I can not run another test.  I just waited for about 1-5 minutes and the DLLs would release.  Now I have an additional problem and I think they are related.  When I run my unit tests the MyClassCleanup() is not being invoked.  I am guessing these are related.  I have found no solutions on the web after an exhaustive search.

    PS: These are batch portions being run at the moment, so DNN is not up and running at this time, so I know it is not conflicting with DNN.  I am unable to hit CNTL-ALT-DEL because I am running in a Virtual PC; so I can not see what is running at the time.

    Suggestions?

    JimMas

All Replies

  • Tuesday, April 03, 2012 2:26 AM
    Moderator
     
     Answered

    Hi JimMas,

    Thank you for posting in the MSDN forum.

    Do you mean that you are testing a DotNetNuke Assembly Module like this article: Unit Testing a DotNetNuke Private Assembly Module.

    If so, I’m afraid that it is not the correct forum about this issue, since the DotNetNuke is not supported on our forum. So my suggestion is that you could post it in the DotNetNuke forum for dedicated support. Thanks for your understanding.

    Have a nice day,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us