u***a 发帖数: 52 | 1 【 以下文字转载自 Windows 讨论区 】
发信人: umusa (umusa), 信区: Windows
标 题: Excel VSTO 4.0 project deveopled in VS2010 migration to VSTO 5.0 developed in VS2013
发信站: BBS 未名空间站 (Sun Aug 30 12:07:38 2015, 美东)
I am very new to develop office(Excel 2010) applications/doc-level add-ins
by (C#) VSTO 5.0 in VS2013. If this is not a place to post this kind of
question, please tell me where I can post it before you vote it down. Thanks
!
After reading this https://msdn.microsoft.com/en-us/library/cc668197.aspx?f=
255&MSPPError=-2147217396 I still cannot figure out how to develop a VSTO
project in VS2013 because I need to migrate a VS2010 VSTO 4.0 project (
developed in VS2010) to VSTO 5.0 in VS2013. The original C# code (in VS2010)
was not designed by me. I got a lot of build errors when I created a new
VSTO 5.0 project (Excel 2010 doc-level add-ins) by copying the C# code that
was developed for Excel 2007/2010 worksheet (developed in VS2010) to the
worksheet C# code file in the VSTO 5.0 poject of VS2013.
For example, I have Sheet1.cs file in VS2013 and I copied Sheet1.cs C# code
from VS2010 to Sheet1.cs that was the created in VSTO 5.0 project in VS2013.
Many customized class definitions in Sheet1.designer.cs are missing so that
I got a lot of build errors.
But, Sheet1.designer.cs was created automatically in VS2013 and I cannot
edit it manually.
So, if anyone can recommend some books about VSTO 4.0 to VSTO 5.0 migration
from VS2010 to VS2013, I would really appreciate. |
|