C# condition on using assembly -
i saw few post on non of them worked me. have project using third party dll. there several versions of dll using 2. thirdparty8.dll , thirdparty9.dll
this project deployed on different clients using 1 of 2 versions of dll. due licensing issues cannot have latest version installed on everyone. code created version 8 , work no changes on thirdparty9.dll except on using statement. 1 be
using thirdparty8;
and other 1
using thirdparty9;
classes have same name.
is there way select 1 used on condition? example
if (configfile.version = 8) using thirdparty8; else using thirdparty9;
thanks
gianfranco
i think mean like
#if version8 using thirdparty8 #else using thirdparty9 #endif
if it's correct, maybe can define conditional version8, , compile or without it.
Comments
Post a Comment