❗ Use NetOfficeFw packages

Official NetOffice libraries are published as NuGet packages with prefix NetOfficeFw.*

Move Away From Old Packages

We noticed that old NetOffice packages on NuGet server are no longer available (NetOffice releases 1.7.3 and older) and a rogue account named netofficedotnet published NetOffice libraries under a release 1.7.4.4. These packages contain the old NetOffice 1.7.3.0 libraries tough.

The latest official NetOffice release is 1.7.4.3 (as of end of May 2018).

Switching to NetOfficeFw packages you will get the latest NetOffice libraries and also improved debugging experience as we publish the symbols packages with the source code for the 1.7.4.1 and 1.7.4.3 releases.

Upgrade Existing Projects

To upgrade existing projects which use the old NetOffice.* (eg. NetOffice.Word, NetOffice.Excel, etc.) packages from NuGet, you must manually uninstall these packages and get the new equivalent versions named NetOfficeFw.*.

Use Package Manager Console to Migrate Packages

You can use Package Manager in Visual Studio to migrate to new packages by using these commands:

PM> Uninstall-Package NetOffice.Word
PM> Uninstall-Package NetOffice.Core
PM> Install-Package NetOfficeFw.Word

Use NuGet Package Manager to Migrate Packages

To migrate to NetOfficeFw packages from Visual Studio user interface, use NuGet Package Manager.

  1. Right click on you project and choose Manage NuGet Packages...
  2. Open Installed tab
  3. Select your installed NetOffice packages
  4. Click Uninstall button
  5. Open Browse tab
  6. Enter netofficefw into search box
  7. Select the packages based on the MS Office application you develop for
  8. Click Install button

Note: Please, make sure you uninstall all existing NetOffice. packages, including *NetOffice.Core to prevent issues in the application caused by referencing NetOffice libraries twice and with different versions.

Uninstall NetOffice packages

Install NetOfficeFw packages