Hi,
I have a cimplicity 9.0 project in which I want to add some custom-made .net components. Following the guidelines in Cimplicity help, I placed all the dll's in the folder
"..\<CIMPLICITY Installation>\exe\DotNet Components".
When I try to add the components on the screen, I got errors and see in the logging the following:
2015-07-27 10:44:05,871 [1] ERROR GEIP.Orion.ComponentBuilder.ComponentBuilder
Code compilation failed:
2015-07-27 10:44:05,871 [1] ERROR GEIP.Orion.ComponentBuilder.ComponentBuilder
Could not load file or assembly 'file:///C:\Microsoft.Practices.Unity.dll' or one of its dependencies. The system cannot find the file specified.
2015-07-27 10:44:05,871 [1] ERROR GEIP.Orion.ComponentBuilder.ComponentBuilder
Error copying generated files to folder : DotNet Components
So it seems that I have to place the dependant dll's in c:\ root folder?
I also noticed that I can place all the dll's in the exe-folder of the Cimplicity installation, but there is a problem because for the .net components, a different version of log4net is used than the version that is installed with cimplicity. When I keep the log4net.dll that came with the Cimplicity installation, cimplicity works fine, but the .net component fails, and if I overwrite this dll, Cimplicity doesn't start anymore.
When I place all the dll's in the c:\ root folder, everything works fine, but this is not a good solution.
Does anybody know where to place all dll's?
I have a cimplicity 9.0 project in which I want to add some custom-made .net components. Following the guidelines in Cimplicity help, I placed all the dll's in the folder
"..\<CIMPLICITY Installation>\exe\DotNet Components".
When I try to add the components on the screen, I got errors and see in the logging the following:
2015-07-27 10:44:05,871 [1] ERROR GEIP.Orion.ComponentBuilder.ComponentBuilder
Code compilation failed:
2015-07-27 10:44:05,871 [1] ERROR GEIP.Orion.ComponentBuilder.ComponentBuilder
Could not load file or assembly 'file:///C:\Microsoft.Practices.Unity.dll' or one of its dependencies. The system cannot find the file specified.
2015-07-27 10:44:05,871 [1] ERROR GEIP.Orion.ComponentBuilder.ComponentBuilder
Error copying generated files to folder : DotNet Components
So it seems that I have to place the dependant dll's in c:\ root folder?
I also noticed that I can place all the dll's in the exe-folder of the Cimplicity installation, but there is a problem because for the .net components, a different version of log4net is used than the version that is installed with cimplicity. When I keep the log4net.dll that came with the Cimplicity installation, cimplicity works fine, but the .net component fails, and if I overwrite this dll, Cimplicity doesn't start anymore.
When I place all the dll's in the c:\ root folder, everything works fine, but this is not a good solution.
Does anybody know where to place all dll's?