This update installs the Visual Studio 2010 Tools for Office Runtime. This is required to run Microsoft Office-based solutions that are built by using Microsoft Visual Studio 2010, Visual Studio 2012, Visual Studio 2013, and Visual Studio 2015.
This update is a cumulative rollup of previous fixes, and it resolves the following issues:
This update is a cumulative rollup of previous fixes, and it resolves the following issues:
- The runtime setup is changed for compatibility with Office 2016 Preview install logic. Office 2016 Preview includes the necessary fixes "out of the box". Therefore, no user/developer action is required to install the latest VSTO Runtime in Office 2016 Preview.
- Underlying data source is disconnected when you execute a copy-paste operation in ListObject.
Symptoms
When you select more than one rows and paste them after the last row in ListObject, validation logic invokes DataRow.RejectChanges or calls cancel in BeforeAddDataBoundRow on the rows. In this situation, the underlying data source becomes disconnected, and any further edits to the data will not be detected. For example, the RowChanged event will not be used, the edits will not be committed, and the data in the worksheet will no longer match the data source.
Cause
This issue occurs when DataRow.RejectChanges or BeforeAddDataBoundRow rejects the rows, and the VSTO Runtime cannot compute the net count of the rows. This leads to an ArgumentOutOfRange exception, and the data source is unbounded from the ListObject.
Workaround
This workaround only applies to row rejection in BeforeAddDataBoundRow event. It does not apply to the issue that is related to DataRow.RejectChanges.
To apply this workaround, download and install VSTO Runtime version 60724.00 or later versions from Visual Studio 2010 Tools for Office Runtime, and add the following registry key based on the server architecture:- 32-bit
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO ListObject]
"SuppressUpdateTableDimensions"=dword:00000001 - 64-bit
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VSTO ListObject]
"SuppressUpdateTableDimensions"=dword:00000001
- 32-bit
- This update rollup also resolves the issues that are resolved by the previous update rollup .