- Регистрация
- 25.01.2012
- Сообщения
- 1 058
- Благодарностей
- 244
- Баллы
- 63
Hello,
just tried to add a reference to an external assembly to PM (the same way I successfully added assemblies in the past). But when I open the "GAC References" static block and click on "Add" and browse to my dll file an click OK nothing is added in the References window. After closing it and going back to PM the following error is shown in the log (I copied the error from the execkutionLOg.txt from ZPs Log folder, because I can't copy it from PM's log):
"Connection assembly to project"
Message: "System.ApplicationException: Could not load exported type data for assembly 'Rebex.Networking, Version=3.0.6249.0, Culture=neutral, PublicKeyToken=1c4638788972655d'. ---> System.IO.FileLoadException: Could not load file or assembly 'Rebex.Common, Version=2.0.6249.0, Culture=neutral, PublicKeyToken=1c4638788972655d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at #Rye.#eze..ctor(Assembly assembly, String assemblyFullName, String assemblyLocation, String cachePath, Boolean documentationEnabled)
--- End of inner exception stack trace ---
at #Rye.#eze..ctor(Assembly assembly, String assemblyFullName, String assemblyLocation, String cachePath, Boolean documentationEnabled)
Tried to load the assembly from different locations (ZPs "ExternalAssemblies" folder, from an folder within my project diretory, directly on top of C:/ but nothing works.
When I attach the same assembly to a project within Visual Studio 2008 all works fine.
Thank you for your appreciated help.
Best,
morph
just tried to add a reference to an external assembly to PM (the same way I successfully added assemblies in the past). But when I open the "GAC References" static block and click on "Add" and browse to my dll file an click OK nothing is added in the References window. After closing it and going back to PM the following error is shown in the log (I copied the error from the execkutionLOg.txt from ZPs Log folder, because I can't copy it from PM's log):
"Connection assembly to project"
Message: "System.ApplicationException: Could not load exported type data for assembly 'Rebex.Networking, Version=3.0.6249.0, Culture=neutral, PublicKeyToken=1c4638788972655d'. ---> System.IO.FileLoadException: Could not load file or assembly 'Rebex.Common, Version=2.0.6249.0, Culture=neutral, PublicKeyToken=1c4638788972655d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at #Rye.#eze..ctor(Assembly assembly, String assemblyFullName, String assemblyLocation, String cachePath, Boolean documentationEnabled)
--- End of inner exception stack trace ---
at #Rye.#eze..ctor(Assembly assembly, String assemblyFullName, String assemblyLocation, String cachePath, Boolean documentationEnabled)
Tried to load the assembly from different locations (ZPs "ExternalAssemblies" folder, from an folder within my project diretory, directly on top of C:/ but nothing works.
When I attach the same assembly to a project within Visual Studio 2008 all works fine.
Thank you for your appreciated help.
Best,
morph