I'm writting components in C# to run in COM+. I know I have to derive the class from ServicedComponent, which is fine and I understand that. I'm now wanting to use transactions in my code, which need the class to be derived from ServicedComponent.
However, when I'm developing the classes, I have to comment this derivation out as the project won't build on my desktop.
When I'm ready to realease the project into COM+, I reinstate the derivation and compile it at the command line.
What should I do to allow me to develop my components as ServicedComponents on my PC, rather than commenting in/out all the time? I use Windows 2000.
Thanks
However, when I'm developing the classes, I have to comment this derivation out as the project won't build on my desktop.
When I'm ready to realease the project into COM+, I reinstate the derivation and compile it at the command line.
What should I do to allow me to develop my components as ServicedComponents on my PC, rather than commenting in/out all the time? I use Windows 2000.
Thanks