Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7809397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:25:28+00:00 2026-06-02T03:25:28+00:00

C# class libary – targetting .NET2 framework. I’m trying to implement a public interface

  • 0

C# class libary – targetting .NET2 framework.

I’m trying to implement a public interface (exposed from a second referenced assembly) in a small class. The interface has only 3 methods: one is fine, but for some reason I can’t implement the other two of them without the compiler complaining for each one that:

  • my class “does not implement InterFaceName.MethodName”
  • “InterFaceName.MethodName in explicit interface declaration is not a member of interface”.

The only difference between the one method which compiles and the other two is that the problem methods each have a parameter which is an Office Interop (Word) type. The other parameters are either bool or members of other public interfaces.

I can add my class definition here if it helps, but I would need to do some paraphrasing since I’m not the “owner” of the other assembly (it is a commercial product) and I’m not sure how they’d feel about me “exposing” it…

That’s kind of vague I know, but I’m hoping someone’s run into this kind of error before.

Thanks for any pointers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:25:31+00:00Added an answer on June 2, 2026 at 3:25 am

    This can often happen if the referenced assembly is built against a different version of the Office Interop assemblies.

    As a result, even though visibly the parameters declared for “MethodName” may appear to match the interface from the referenced assembly, since the assembly versions are different, the method declaration does not actually match the decleration from the referenced assembly.

    Double check you are using the exact same version of the interop assemblies.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The silverlight class library throws System.InvalidOperationException exception with ConfigFileMissing message when trying to access
Handling events exposed on a .NET class via COM in VB6 My test .NET
I have a Class library application in which I'm trying to use SSL connection.
I have a class library project seperate from the website. When I build the
Why doesn't the .NET Base Class Libary have CRC classes?
----------Class library file where i am calling WCF service------------- public class AllEmployeeViewModel { //
I write some C# class libary and I want to use Ninject to provide
My company has a common code library which consists of many class libary projects
Can we call class Library from a wcf service...sorry if the question is wrong..
From within a class library, I'd like to know if it is being accessed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.