I developed a COM + component in C # that inherits from ServicedComponent. Here's what it looks like:
[Transaction(TransactionOption.Required)] [ClassInterface(ClassInterfaceType.AutoDual)] [EventTrackingEnabledAttribute(true)] [JustInTimeActivation] [ObjectPooling(Enabled = true, MinPoolSize = 10, MaxPoolSize = 30, CreationTimeout = 15000)] [Synchronization] class MyComponent: System.EnterpriseServices.ServicedComponent { [AutoComplete(true)] public string getHello() {
I have another test project from which I call this component.
class Program { static void Main(string[] args) { MyComponent myComp = new MyComponent(); myComp.getHello();
I can't get to the second breakpoint. This worked before I switched to VS 2012. It is strange that after the transition to 2012, it no longer works in VS 2010.
I already tried
- Attach to process
- Disabled "Enable only my code" in debug settings
Can someone please give directions from here?
UPDATE 1
From the links provided by Mike, I tried symchk for my DLL in the same folder as the DLL and PDB files. It fails with an error stating that the PDB is not matching or not found. I do not know how to resolve this error.
c # visual-studio-2012 com +
Eternal noob
source share