Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Could not load file or assembly Interop.Microsoft.Office.Core

Could not load file or assembly Interop.Microsoft.Office.Core

Scheduled Pinned Locked Moved COM
questioncsharpasp-netcomhardware
4 Posts 2 Posters 13 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 1820137
    wrote on last edited by
    #1

    I recently upgraded my project from .net 3.5 to 4.0. My Word Interop Assembly was working on client machines just fine in .net 3.5. After upgrading to .net 4.0 I changed the Embedded Interop Types property to false. Now some clients are looking for Interop.Microsoft.Office.Core when previously they weren't. My question is how come the clients are looking for this assembly with .net 4.0 when they weren't in .net 3.5?

    M 1 Reply Last reply
    0
    • U User 1820137

      I recently upgraded my project from .net 3.5 to 4.0. My Word Interop Assembly was working on client machines just fine in .net 3.5. After upgrading to .net 4.0 I changed the Embedded Interop Types property to false. Now some clients are looking for Interop.Microsoft.Office.Core when previously they weren't. My question is how come the clients are looking for this assembly with .net 4.0 when they weren't in .net 3.5?

      M Offline
      M Offline
      Marco Bertschi
      wrote on last edited by
      #2

      This seems to be a common issue[^] when upgrading from .Net 3.5 to .Net 4. According to the link you'll need to manually include (or re-reference) the COM libraries into your .Net 4.0 project.

      cheers Marco Bertschi


      Software Developer & Founder SMGT Web-Portal CP Profile | Twitter | Facebook | SMGT Web-Portal


      FizzBuzz - Gary Wheeler

      U 1 Reply Last reply
      0
      • M Marco Bertschi

        This seems to be a common issue[^] when upgrading from .Net 3.5 to .Net 4. According to the link you'll need to manually include (or re-reference) the COM libraries into your .Net 4.0 project.

        cheers Marco Bertschi


        Software Developer & Founder SMGT Web-Portal CP Profile | Twitter | Facebook | SMGT Web-Portal


        FizzBuzz - Gary Wheeler

        U Offline
        U Offline
        User 1820137
        wrote on last edited by
        #3

        Thanks Marco. I ended up adding the reference to Microsoft.Office.Core and that worked. It's just odd - I didn't need that reference in previous .net versions.

        M 1 Reply Last reply
        0
        • U User 1820137

          Thanks Marco. I ended up adding the reference to Microsoft.Office.Core and that worked. It's just odd - I didn't need that reference in previous .net versions.

          M Offline
          M Offline
          Marco Bertschi
          wrote on last edited by
          #4

          You are welcome - As I supposed, it came up with V4 of the .NET framework. Maybe earlier versions of the framework have added the reference by itself.

          cheers Marco Bertschi


          Software Developer & Founder SMGT Web-Portal CP Profile | Twitter | Facebook | SMGT Web-Portal


          FizzBuzz - Gary Wheeler

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups