Embed Interop Types
Visual Studio 2010 (C# v4.0) provided the ability to Embed Interop Types
Instead of including these files as part of your solution they should be embedded into your assembly.
The PIAs are embedded into your project by default.
There is an "Embed Interop Type" property associated with each interop reference assembly.
If the "Embed Interop Type" property is set to False, you must include the PIA for each version of Office that the application will run with.
Microsoft doesn't publish the PIAs because the interop types should be embedded into the solution.
link - stackoverflow.com/questions/21013912/can-i-still-use-microsoft-office-interop-assemblies-with-office-2013
© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrevNext