B
Boris
I encountered a problem, I can't define reference for a specific
configuration.
My project, like any other, has 2 configurations ("Debug" and "Release") In
the "Debug" configuration I use Nunit for testing, so all nunit related code
is under #if NTEST definition. The NTEST declared only in Debug
configuration. However, in order to use NUnit I have to add reference for
nunit.framework.dll. My problem is that I don't want to add this reference
in the release configuration. I don't want to put the dll to the client
machine. Do you know how can I define a reference for a specific
configuration? I think that reflection could help, but I'm not quite sure
how to do it. Please give me an advise if you know.
configuration.
My project, like any other, has 2 configurations ("Debug" and "Release") In
the "Debug" configuration I use Nunit for testing, so all nunit related code
is under #if NTEST definition. The NTEST declared only in Debug
configuration. However, in order to use NUnit I have to add reference for
nunit.framework.dll. My problem is that I don't want to add this reference
in the release configuration. I don't want to put the dll to the client
machine. Do you know how can I define a reference for a specific
configuration? I think that reflection could help, but I'm not quite sure
how to do it. Please give me an advise if you know.