Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assembly reference
Message
From
18/06/2007 01:03:38
 
 
To
17/06/2007 21:09:37
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01233791
Message ID:
01233828
Views:
9
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
Previous
Reply
Map
View

Click here to load this message in the networking platform