Could not load file or assembly Interop.Microsoft.Office.Core
-
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?
-
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?
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
-
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
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.
-
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.
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