FeResPost Web Site                     FeResPost Online User Manual

VIII.0.1.1 Accessing the .NET assembly

If FeResPost assembly is installed into global assembly cache, no peculiar operation is necessary to access it from IronRuby. If FeResPost is not installed in global assembly cache, a path must be provided to IronRuby to retrieve the library. This is done, for example, with the “-I” option.

When compiling a C# program, the library must be referenced at compile-time with the “-r” option. For example:

        csc.exe -r:../../../SRC/OUTPUTS/NET/FeResPost.dll ...

This referencing must be done, even if the library is installed in global assembly cache. Note however, that after compiling the C# client program, this program can be moved elsewhere independently of the FeResPost assembly, if this assembly has been installed in Global Assembly Cache.

We assume that was is true for IronRuby, shall be true for other .NET interpreted languages as well. Similarly, what is true for C# compiled programs is applicable for other CLI compiled languages (C++/CLI or VB/CLI).