- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Morning!
I have a trouble with creating VaultExplorer instance in my program.
First of all, I'm trying to create MS Project ribbon add-in to assign Vault objects to tasks by Id's. This way I'll be able to synchronize properties in both directions.
I took a VaultFileBrowser example from SDK, and placed it in add-in code. This caused several troubles:
- VS 2010 asked to sign dll's with strong names. Solution: I signed them, using Signer utility, previously generated strong name key by sn tool. But I ran Signer not from VS console, but from cmd, placed necessary .NET v3.5 and .NET v2 tools (CorFlags.exe, ilasm.exe, ildasm.exe, TlbImp.exe) in same directory - to prevent using .NET v4 tools.
- Program didn't log in. There was no networking activity in Fiddler's logs. Solution: I used to enforce API Log In Hotfix. This updated whole Vault SDK and dll's to 16.1.58.0 version. So, I had to make step 1 again to get signed dll's.
- Add-in logged in, took Id and placed it in requested cell. But add-in still couldn't get Explorer Util - following code returns null, whole params, e.g. ServerString, Vault, UserId and Ticket are not empty.
VaultExplorer = ExplorerLoader.LoadExplorerUtil(
loginInfo.ServerString, loginInfo.Vault,
ServiceManager.SecurityService.SecurityHeader.UserId,
ServiceManager.SecurityService.SecurityHeader.Ticket);I even tryed to use previous version (16.0.56.200) of Autodesk.Connectivity.Explorer.ExtensibilityTools. That cauced an error of redefinition in DownloadFile ( File file, string localPath ) function: VS enforced to use DownloadFile ( File file, Folder folder ) redefinition.
I'm connecting Vault Pro 2010 SP1. I need Explorer Util to open and preview Vault objects directly from Project.
Thanks in advance.
Dmytro Yemelianov / Дмитрий Емельянов
Mechanical engineer & Software Developer / Инженер-машиностроитель и разработчик программного обеспечения
Blog (EN) | Blog (RU)
Facebook | Twitter | LinkedIn![]()
Solved! Go to Solution.
