if any other information is needed feel free to ask. I'm currently using Visual Studio 2022 with the package in C#, It's a simple console app. Is there some step or package that we're missing? I've also had some others report that for some reason they can't get the version of interop to function with Office 365. 1014 and installing a third party package simply called "Office" from NuGet, the project mostly works, aside from it telling me to use. I only have 365 installed on this machine and what confuses me more is that by reverting to version. I've attempted multiple solutions, adding various references and packages however I've had almost no success. I get that I'm missing an assembly or dll however I have no idea how I could fix it. The system cannot find the file specified.įile name: 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' In this scenario, the type information for the PIA types that are used by your solution is embedded into the solution. System.IO.FileNotFoundException: Could not load file or assembly 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. By default, Office primary interop assemblies (PIAs) do not need to be installed on end-user computers if the Embed Interop Types property of each Office PIA reference in the project is set to True, which is the default value. However almost every attempt has resulted in the following error. I've been attempting to setup a project that allows me to use Excel Interop in C# on the Office 365 version (I need to create and edit some sheets to automate some tasks from work involving CSV files).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |