H
Hossein Farkho
I had a ASP.NET 1.1 project with 2 ".csproj" files, each one had different
sets of compiler symbols (directives) so I could use the same code and
compile two different versions of the project very easily.
After converting to ASP.NET 2.0, since there is no project file, there is no
way to set symbols in VS 2005 IDE. Now I am looking for a solution. I simply
don't want to maintain two different code sets or change a constant manually
before each compile.
If I can put #define XYZ somewhere that all my .cs files can see it and
based on that the #ifdef XYZ sections compile, I'll be all set but it looks
like the scope of #define is only within the same file and there is no way
to share #define among multiple files.
I will appreciate your suggestions.
HF
sets of compiler symbols (directives) so I could use the same code and
compile two different versions of the project very easily.
After converting to ASP.NET 2.0, since there is no project file, there is no
way to set symbols in VS 2005 IDE. Now I am looking for a solution. I simply
don't want to maintain two different code sets or change a constant manually
before each compile.
If I can put #define XYZ somewhere that all my .cs files can see it and
based on that the #ifdef XYZ sections compile, I'll be all set but it looks
like the scope of #define is only within the same file and there is no way
to share #define among multiple files.
I will appreciate your suggestions.
HF