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 |
|
Eugene Astafiev
Guest
|
|
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... |
|
Eugene Astafiev
Guest
|
Hi Robert,
Thank you for keeping us informed. :-) |
|
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. |
|
Eugene Astafiev
Guest
|
|