Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an Inventor 2021 add-in that does various things for my company. There are a couple buttons that do things with Vault. Recently, and I can't put my finger on exactly when, the Vault specific features have stopped working. I am getting the following error:
System.IO.FileLoadException: 'Could not load file or assembly 'Connectivity.InventorAddin.EdmAddin, Version=26.2.24.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)'
When calling the following Sub
Private Sub LoginToVault()
Dim security As EDM = EDM.Instance
If Not security.IsSignedIn() Then
g_inventorApplication.StatusBarText = "Logging into Vault"
RunLineCommand("LoginCmdIntName")
End If
m_conn = security.VaultConnection
g_inventorApplication.StatusBarText = ""
End Sub
The error is happening on the line that calls this Sub.
I have a reference setup in my project for Connectivity.InventorAddin.EdmAddin located at C:\Program Files\Autodesk\Inventor 2021\Bin\Connectivity.InventorAddin.EdmAddin.dll
We are actually using Inventor 2021. Please advise. Thank you.
Solved! Go to Solution.