I'm changing my project's code (VB.NET 2015) so that it will have two versions. A full one and a minimal one. I have used conditional compilation with two options (FULL
& AGENT
), and marked the parts to be excluded from the minimal version using the standard #if FULL then ...
However, the project uses a couple of files and I need to completely exclude some of them when compiling the minimal version.
I have done some searching and found things like this:
How to: Exclude Files from the Build
But I don't see that it is conditional (so the FULL
version will compile them and minimal will ignore) neither do I find a project file in my project that looks similar to those examples.
So, how do I exclude files when compiling the minimal (AGENT
) version and include them when compiling the FULL version?