Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deployment - NUnit Problem
Message
From
12/07/2010 11:03:24
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
 
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01472230
Message ID:
01472235
Views:
35
>>Hi,
>>
>>I wired up NUnit into my business objects project for testing at various stages. Now that I have come to deployment time, I notice that the deployed app won't run unless the NUnit assemblies are deployed with the application. And of course, I don't want to do that. What's the recommended way of handling this?
>
>
>>Do I remove all testing code and references from the business objects project and recompile? (This does not make sense.)
>
>You could wrap your test code in #if DEBUG...#endif so that it's omitted from the release version.
>
>>Or, did I do something else wrong when I added NUnit as a reference to the project in the first place?
>
>No. If you need to use it you have to add a reference - and if you add a reference the DLL will be copied the to bin folder....


OKay... Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform