Monday, November 20, 2006

Deploying VSTO projects

To deploy VSTO (for instance Excel) Project, just copy it, and all coresponding assemblies to destination folder. Than you have to grant access to whis folder following next steps:

  • Go to Control Panel > Administrative Tools > .Net Framework 2.0 Configuration
  • Go to My Computer > Runtime Security Policy > Machine > Code Groups > All_Code and add a new code group
  • Give a Code group name, say next and select the condition type as URL and give the URL where you put ExcelWork1.dll

or D:\Garbage\ExcelWorkbook1\bin\Debug\* (for local case)

  • Press the Next button and assign Full Trust and click Finish.

No comments: