This project has moved and is read-only. For the latest updates, please go here.

Few errors in VS Express and SharpDevelop

Apr 19, 2014 at 10:23 PM
Hi

I'm trying to create Office ribbon add-in with an installer.
I'm testing Visual Studio Express 2012 and SharpDevelop 5 Beta 3.

I needed to set Properties->Unblock on NetOffice Toolbox 1.2.zip before unzipping it.
Otherwise, Windows thinks that it is unsafe because it was downloaded from the web.

In a new office ribbon project I needed to use ToolsVersion="4.0" instead of 4 in MyAssembly.csproj

I need to run both VS and SharpDevelop as admin.

When trying to build the project in SharpDevelop I'm getting a warning:
Could not resolve this reference. Could not locate the assembly "extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. (MSB3245)

When trying to run the project in SharpDevelop 5 I'm getting:
Project is configured as dll and no execution command is specified.
You can specify an execution command in the project options.

How can I fix the errors?

Are there docs about this?
I couldn't find any info and had to figure it out.
Is there an example how to use SharpDevelop with wix (or something else) to create an Office add-in installer?

Thanks
May 16, 2014 at 6:05 AM
When trying to run the project in SharpDevelop 5 I'm getting:
Project is configured as dll and no execution command is specified.
You can specify an execution command in the project options.
You should config you self. It is not NetOffice question.
May 16, 2014 at 9:08 PM
hey man

it looks like for an addin project.

go the project options(menu: Project/Project Options and you a face a tabcontrol component
select the 'Debug' tab now.
select the start option 'start external program' and choose your office application (EXCEL.EXE or whatever)
close the option page and hit F5 to debug.

*hope this helps
Sebastian
Sep 8, 2014 at 8:26 AM
Hello,

I have the can't find "extensibility" problem too, on both VS 2013 express and sharpdevelop 4.4
When I go to the list of references, it can find everything else except "extensibility".

Where can I find this reference?

Thank you!
Sep 26, 2014 at 12:37 AM
hey niknah,

i can't show you the right direction so far because i dont use SharpDevelop.
Not sure but SharpDevelop shows you a COM Rerference dialog arent' so`?
(In Visual Studio, this is a special tab)
Otherwise try a file search for "extensibility.dll" and don't be scared if its multiple exits.
use the first entry you found so far.

*Sebastian