Page 1 of 1

Description won't show up in the 'select from library' UI

Posted: Wed Feb 13, 2019 4:55 pm
by JFL
Hi,

We have a .dll library (to help to share our methods to the whole company) that contains UserCodeCollection along with UserCodeMethod inside of it and the method are visible in the 'select from library' UI but the description show: method has no description. However, there is a description in the code.

I took the same code from our .dll (library) and put it directly inside of Ranorex and now the description is been properly displayed.

Therefore, there is a bug where the description will not show up if you have your UserCodeMethod from a .dll library.

Here is a dummy example on how we code a method in our .dll library:
namespace DummyNameSpace
{
/// <summary>
/// abcd
/// </summary>
[UserCodeCollection]
public class DummyClass
{
/// <summary>
/// this do this and do that
/// </summary>
[UserCodeMethod]
public static void HelloWorld()
{
...
}
}
}

Re: Description won't show up in the 'select from library' UI

Posted: Wed Feb 13, 2019 8:49 pm
by Vega