c# - Create 2 different versions of the same assembly -
i creating .net assembly. want have 2 different versions of assembly. difference between 2 versions guid string embedded in .cs file. version 1 of assembly, guid ecabafd2-7f19-11d2-978e-0000f8757e2a , version 2 ecabafd2-7f19-11d2-978e-0000f8757e2b
how manage in visual studio 2010 ? there kind of automation tool can change string me , compile both versions ?
how ? opened suggestions
in c#, conditional compilation typically done using conditionalattribute. place code using relevant guid values in assembly conditional on 2 different compilation symbols - variant1, variant2.
define build configurations project in visual studio define variant1 first build, variant2 second build. results in 2 output binaries - 1 first guid , other second.
Comments
Post a Comment