I need to exclude some code from the compilation when targeting the .NET 3.5 framework, but not when targeting 2.0. Is this possible using preprocessor conditions (#if/#endif)? Or maybe some other method.
Oops, duplicate.. closing...
I need to exclude some code from the compilation when targeting the .NET 3.5 framework, but not when targeting 2.0. Is this possible using preprocessor conditions (#if/#endif)? Or maybe some other method.
Oops, duplicate.. closing...
Take a look Here: http://stackoverflow.com/questions/408908/conditional-compilation-depending-on-the-framework-version-in-c