Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assembly reference
Message
De
18/06/2007 01:03:38
 
 
À
17/06/2007 21:09:37
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01233791
Message ID:
01233828
Vues:
8
This is because references are copied at compile time.

Your TestCaseClass app has a reference to the assembly myBO.DLL. This DLL reference is copied into the bin\debug folder of your TestCaseClass project. But if you make changes to myBO and recompile it, the new DLL does not get copied into the bin\debug of your TestCaseClass app (it will get copied if you recompile TestCaseClass, which is the behaviour you are currently seeing).

If you don't want to recompile your TestCaseClass, you can copy the new myBO.DLL into it's bin\debug folder instead.

~~Bonnie


>Hi,
>Thank you for reply.
>
>I have TestCaseClass called TestMyBO in project TestMyApp. I have a class called myBO in project MyApp.
>
>While my test failed, I fixed my code in myBO class (without change its interface) and recompile it. I re-run my test again, it will still fail unless I recompile my TestCaseClass.
>
>Why?
>
>Thank you
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform