Hi
I am experiencing the following issue when building an ATL component that is
tested with c#:
The ATL project builds first, then the C# project, as the ATL DLL is a
dependency of the C# project. The C# project has got a control from the ATL
DLL on one of its forms, and as such, whenever VS is loaded with the C#
project, it has got the DLL loaded into its process space until it is shut
down. Hence, it is impossible to build the ATL DLL project. I am having to go
through the laborious process of removing the C# project from the solution,
shutting the IDE down, loading it up again (with just the ATL project this
time), building the ATL project, then re-adding the C# project and setting it
as startup. Then running it.
Which is taking more time than I would want.
All this is when the C# project is another project within the same solution
that the ATL project is in. I have got unmanaged debugging enabled on the C#
project, because that way it is able to step into the unmanaged ATL project
from the C# project - something it doesn't seem to be able to do
unfortunately if I just run the ATL project when it is on its own and choose
the debug program to be another instance of the IDE, and then load the C#
project on its own but in its own process. I wonder why this is the case?