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.
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.
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.
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:
- This update rollup also resolves the issues that are resolved by the previous update rollup .
Download informationYou can download the file from Microsoft Download Center Visual Studio 2010 Tools for Office Runtime.
For more information about how to download Microsoft support files, see How to obtain Microsoft support files from online services Microsoft scanned this file for viruses .
Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.