Sri Potluri
Posts: 14
Joined: 2016-05-13
|
Dear ADX Team,
My solution contains 2 projects. One is the ADXCOM Add in template and the other is a different project that I have to use in my code.
I added it's .exe as a reference to the ADXCOM project and I am trying to register the project. I did this earlier and there were no issues registering. But today I am getting the following error when trying to register.
"Could not load file or assembly 'P_GSProjectFromLaunchFile1_Trial, Version=0.0.0.0, Culture=neutral, PublicKeyToken=eee53313bf61720e' or one of its dependencies. The system cannot find the file specified."
I checked the location of the reference and the file is present there but I don't understand why this started happening.
Below is the detailed exception. I noticed that the .exe I am referencing has a different public key than what is actually mentioned in the error below. Could this be the issue?
Please let me know.
Detailed technical information follows:
---
(Inner Exception)
(Inner Exception)
Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files (x86)/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=8.1.4350.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 8.1.4350.0
Exception Source: CalSynchAddin
Exception Type: System.IO.FileNotFoundException
Exception Message: Could not load file or assembly 'P_GSProjectFromLaunchFile1_Trial, Version=0.0.0.0, Culture=neutral, PublicKeyToken=eee53313bf61720e' or one of its dependencies. The system cannot find the file specified.
---- Stack Trace ----
(Outer Exception)
Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files (x86)/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=8.1.4350.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 8.1.4350.0
Exception Source: mscorlib
Exception Type: System.Reflection.TargetInvocationException
Exception Message: Exception has been thrown by the target of an invocation.
---- Stack Trace ----
(Outer Exception)
Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files (x86)/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=8.1.4350.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 8.1.4350.0
Exception Source: AddinExpress.Wizard
Exception Type: System.Exception
Exception Message: The 'RegisterAssembly' function failed.
Exception Target Site: dteBuildEvents_OnBuildProjConfigDone
---- Stack Trace ----
AddinExpress.Projects.Common.Registrator.dteBuildEvents_OnBuildProjConfigDone(projectUniqueName As String, ProjectConfig As String, Platform As String, SolutionConfig As String, Success As Boolean)
AddinExpress.Wizard.dll: N 1224 (0x4C8) IL |
|
Andrei Smolin
Add-in Express team
Posts: 18829
Joined: 2006-05-11
|
Hello Sri,
Sri Potluri writes:
I checked the location of the reference and the file is present there but I don't understand why this started happening.
The error message lists all the assembly attributes the .NET Framework expects: assembly name, version, culture, and PublicKeyToken. If any of them is different, you'll get this message.
Sri Potluri writes:
I noticed that the .exe I am referencing has a different public key than what is actually mentioned in the error below. Could this be the issue?
Yes, it could.
Andrei Smolin
Add-in Express Team Leader |
|