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 22.214.171.124. These packages contain the old NetOffice 126.96.36.199 libraries tough.
The latest official NetOffice release is 188.8.131.52 (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 184.108.40.206 and 220.127.116.11 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.
- Right click on you project and choose Manage NuGet Packages...
- Open Installed tab
- Select your installed NetOffice packages
- Click Uninstall button
- Open Browse tab
- Enter netofficefw into search box
- Select the packages based on the MS Office application you develop for
- 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.