What assembly to use to support VisSaveAsWeb?

Add-in Express™ Support Service
That's what is more important than anything else

What assembly to use to support VisSaveAsWeb?
 
Robert Cowham




Posts: 15
Joined: 2012-02-07
I need to use the Visio SaveAsWeb assembly and to support 2007 and 2010.

I notice that the assemblies copied into my project include:

Microsoft.Office.Interop.Visio.dll

However, it doesn't include:

Microsoft.Office.Interop.Visio.SaveAsWeb.dll

I am just working through where to get this to ensure maximum compatibility (my development machine has Visio 2010).

Suggestions?

Perhaps you should add this (and other "extras") to your distribution folder?

Regards
Robert
Posted 16 Mar, 2012 06:37:07 Top
Eugene Astafiev


Guest


Hi Robert,

It looks like you need to download the http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=12365 if you want to use the http://msdn.microsoft.com/en-us/library/aa217869%28v=office.10%29.aspx.

Thank you for the suggestion. We will consider adding this interop to the Add-in Express package.
Posted 16 Mar, 2012 06:55:44 Top
Robert Cowham




Posts: 15
Joined: 2012-02-07
I found the .dll on my test machine with Visio2007 under \windows\assembly\gac and have copied it in to the interops folder.

The project builds - so I need a few more tests to see if things work properly...
Posted 16 Mar, 2012 07:40:22 Top
Eugene Astafiev


Guest


Hi Robert,

Thank you for keeping us informed. :-)
Posted 16 Mar, 2012 07:44:36 Top
Robert Cowham




Posts: 15
Joined: 2012-02-07
On a related note - finally got the installer (.msi) to work on my Visio2007 test env.

I was getting these sort of errors:

13:39:02 1228 Registering the 'smsvisioutils.dll' assembly (user).
13:39:02 0184 Managed Error:
Date and Time: 16/03/2012 13:39:02
Machine Name: SVRASSETGEN
IP Address: fe80::8109:6819:c4f8:4f33%11
Current User: SVRASSETGEN\Administrator

Application Domain: C:\Users\Administrator\AppData\Roaming\Square Mile Systems\SMSVisioUtils\
Assembly Codebase: file:///C:/Users/Administrator/AppData/Roaming/Square Mile Systems/SMSVisioUtils/AddinExpress.MSO.2005.DLL
Assembly Full Name: AddinExpress.MSO.2005, Version=6.6.3059.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 6.6.3059.2005

Exception Source: mscorlib
Exception Type: System.IO.FileLoadException
Exception Message: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Exception Target Site: _GetSignature

What I realised is that the setup project did not have any reference to the Visio assemblies that I needed. So I added them in manually (Microsoft.Office.Interop.Visio.dll and Microsoft.Office.Interop.Visio.SaveAsWeb.dll ) and finally all was well!!

I wonder if there is a bug in the "Create Setup Project" in that it didn't copy them across as it should have done from the project's references section.
Posted 16 Mar, 2012 09:58:13 Top
Eugene Astafiev


Guest


Hi Robert,

Nope. You need to include all assemblies that were added manually to the installer too. Also I have found a http://www.add-in-express.com/forum/read.php?FID=5&TID=9831 for you.
Posted 19 Mar, 2012 08:54:10 Top