![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I posted this message on vstudio.general, but maybe this is where all the appropriate gurus hang out. I've got VS2005 with VSTO SE running on Vista. I have O2007 installed. I'm teaching myself how to build Office add-ins in C#. I did the simplest thing I could do: I created a new Outlook Add-in project, built the template-provided code and installed it. When I go to Outlook it shows the add-in, but said there was a runtime error when loading. I did the same thing to create a Word add-in. It doesn't show up under Add-Ins in Word. I don't know if there is anyway to check if it doesn't show because of the load error, but I'm willing to bet that's the fact. Can anyone give me an idea of what I need to do in VS (or office apps) in order to solve this problem? Thanks |
#3
| |||
| |||
|
|
Do the Add-ins load if run under Debug within VS2005? If they do and the problem only occurs outside of VS the issue is most likely a failure to set 'full-trust' on the installation folder. See the two detailed MS articles on deployment at: http://msdn2.microsoft.com/en-gb/library/bb332051.aspx & http://msdn2.microsoft.com/en-gb/library/bb332052.aspx If they do not run in VS2005 Debug something could be wrong in your code. You will notice a reference in the second of the above articles that VS2008 projects for Office 2007 use 'ClickOnce' deployment technology instead. From personal experience I can say that 'ClickOnce' is major advance for VSTO add-in deployment and VS2008 is thoroughly recommended to make life easier. VS2008 can be downloaded as a 90 day trial: http://www.microsoft.com/downloads/d...displaylang=en Mike Bernstein "Ken Kast" <news (AT) NOSPAMkenkast (DOT) com> wrote in message news:u8woXjPTIHA.3940 (AT) TK2MSFTNGP05 (DOT) phx.gbl... I posted this message on vstudio.general, but maybe this is where all the appropriate gurus hang out. I've got VS2005 with VSTO SE running on Vista. I have O2007 installed. I'm teaching myself how to build Office add-ins in C#. I did the simplest thing I could do: I created a new Outlook Add-in project, built the template-provided code and installed it. When I go to Outlook it shows the add-in, but said there was a runtime error when loading. I did the same thing to create a Word add-in. It doesn't show up under Add-Ins in Word. I don't know if there is anyway to check if it doesn't show because of the load error, but I'm willing to bet that's the fact. Can anyone give me an idea of what I need to do in VS (or office apps) in order to solve this problem? Thanks |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |