Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. COBut, I do uninstall the application after each test case. (otherwise I would not be allowed to install another copy of it) So should'nt the uninstall take care of removing it also, if the installing added the assembly to the GAC? Also, I do not seem to be able to reproduce the issue while doing the tests manually. So it seems like a timing issue. So do you suggest using the tool to remove the assembly from the GAC after each test case? This might not be viable for me, because I run the tests on machines that have only the .NET framework installed. (No VS and SDK) Is there any ohter way out?
      singulars
    2. COSounds like there's a lot of confusion here. You sure you're putting stuff into the GAC? The exception you're getting is related to trying to load the same DLL twice from different locations into the same AppDomain - which might be due to multiple Tests being run in the same [AppDomain] context. Konamiman's answer is correct. You should expand your question to explain what framework / mechanism you're using to execute the tests - That'll be the key to figuring out the best way to isolate the exections from eachother appropriately. When you say 'installing', what to you mean, installutil? MSI?
      singulars
    3. COSorry. Here is what is happening. I have a test application that executes test cases one after the other. The test cases are basically methods of a class. The tests are aimed at testing an installer of a product. So each test case installs the product using an InstallShield installer, then to verify, I launch the application (that was installed) using the method I have described in the question. I do some basic operations and then close the application and uninstall it. The next test case repeats the same thing, except that the application is installed into another location. ...continued
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload