best content on how to deploy and share a VSTO solution

前端 未结 3 668
一个人的身影
一个人的身影 2020-12-28 08:24

with the push to leverage visual studio and dotnet with office based solutions, especially excel, where is the best article or information on how having office sheet with ad

3条回答
  •  忘掉有多难
    2020-12-28 09:16

    For document-level deployment, I recommend the following three links:

    1. https://msdn.microsoft.com/en-us/library/ms268758(v=vs.90).aspx

    2. https://msdn.microsoft.com/en-us/library/ff937654.aspx

    3. How do you assign the Assembly Location of an Excel VSTO Installation?

    Unlike application-level solution, document-level has 2 special properties: _AssemblyLocation and_AssemblyName, which indicate the *.vsto position. To set these properties by install path, a custom action project should be created to record the target path when installing, and packaged together with setup.exe. Then you could put your excel file anywhere (on local machine) and open it in the correct way.

提交回复
热议问题