.net com referencing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dan Crisp

    .net com referencing

    What I'm attempting seems like it can be done - whether easily or not
    is another question. I have a .net solution that starts a couple
    threads and through an interface basically tests out some com+
    components to make sure they're still "alive" (developed in VB6).
    Currently, I manually build a new project for each component and in my
    "component monitoring" project manually add a reference for that same
    component. What I'd like to do is just put the com+ project compiled
    dll in the bin directory of the solution and have it "discover" it and
    add the reference at runtime so I don't have to (theoretically, at
    least) touch the code again to recompile.

    I've been looking at VSA and AssemblyBuilder stuff, but I can't find a
    clear-cut example to just add references on the fly. This is .net, so
    it's got to be possible, right.

    anyone?

    Thanks,

    Dan
  • Dan Crisp

    #2
    Re: .net com referencing

    Does anyone have any insight into this - can it not be done? Surely
    with Microsoft products, all is possible, right?


    crisp.dan@menlo worldwide.com (Dan Crisp) wrote in message news:<171dd765. 0409230826.2ea2 2df9@posting.go ogle.com>...[color=blue]
    > What I'm attempting seems like it can be done - whether easily or not
    > is another question. I have a .net solution that starts a couple
    > threads and through an interface basically tests out some com+
    > components to make sure they're still "alive" (developed in VB6).
    > Currently, I manually build a new project for each component and in my
    > "component monitoring" project manually add a reference for that same
    > component. What I'd like to do is just put the com+ project compiled
    > dll in the bin directory of the solution and have it "discover" it and
    > add the reference at runtime so I don't have to (theoretically, at
    > least) touch the code again to recompile.
    >
    > I've been looking at VSA and AssemblyBuilder stuff, but I can't find a
    > clear-cut example to just add references on the fly. This is .net, so
    > it's got to be possible, right.
    >
    > anyone?
    >
    > Thanks,
    >
    > Dan[/color]

    Comment

    Working...