view designer issue with GX Developer 9.1

KarlKwan Posts: 3 Calcite Rank Badge
edited May 2023 in Oasis montaj
I have written some DLLs in c#; if they are built using x86 and dotnettools.dll, geoengine.core.gxnet.dll, geoengine.core.gxnetx.dll, geosoft.desktop.gxnet.dll, geosoft.desktop.gxnetx.dll in C:\Program Files\Geosoft\GX Developer\gxnet\references\x86, then I can view the designer. However, I cannot run the compiled DLL in OM9.1.1;

If I built the DLL using the Geosoft DLLs in C:\Program Files\Geosoft\GX Developer\redist\bin, I can run it, in OM9.1.1, but cannot view the designer! If view designer in VS2015, I get the following messages:

The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file:
xxxxx_gt --- The base class 'Geosoft.DotNetTools.GXNETWindowsForm.GXNETWindowsForm' could not be loaded. Ensure the assembly has been referenced and that all projects have been built.

Has anyone seen this before?


  • KarlKwan
    I guess someone has seen the problem already in 2016, i.e. Richard Wright.

    Here are the solution proposed by Joseph.

    Hi Richard,

    Unfortunately this is an issue with Visual Studio being a 32-bit application. In order for the designer to work, all referenced assemblies must also be 32-bit. Once you have access to the 32-bit assemblies, you would have to switch over to x86, load the designer and then make your changes. Finally, compiling it in x64.

    Unfortunately only the 64-bit assemblies are included in the BETA. This issue will be addressed before we release.


    OK, looking forward to seeing the issue addressed in the near future, so that we don't have to compile a program TWICE!

  • BenoitTournerie
    I confirm the solution; use the 32-bits references to work on the designer, but link to all 64-bits dll for the final version.
This discussion has been closed.