Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Adding assembly to ReferenceList i Scripting Connector
sp_NewPost Add Reply sp_NewTopic Add Topic
September 15, 2013
1:35 pm
Filip
Guest
Guests

Hello Henk.

Ahh... Now I get it. Thank you.

September 15, 2013
1:16 pm
Henk Helmantel
Admin
Forum Posts: 554
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Filip,

The handling of the scripting assemblies in Diafaan SMS Server can be a bit confusing. The reference list is actually saved but is then overwritten by assembly references in the script itself.

In the most recent versions of Diafaan SMS Server the reference list with the DLL files can be included in the script. When a line starting with '// AddReference' is found in the script, the Reference List will be overwritten with all the DLL file references found in the script. In the default script is a line '// AddReference System.dll' and this will replace the lines you added to the ReferenceList parameter.

You can either remove all the '// AddReference' lines from the script or make sure that all necessary assembly references are added to the script. Adding the assembly references to the script has the benefit that it is easier to apply the script to multiple Scripting Gateways/Connectors.

Regards, Henk

September 15, 2013
12:08 pm
Filip
Guest
Guests

Hi.
I currently test Diafaan SMS Server. Looking for a replacement for our current SMS solution (reseller).

Diafaan looks very promissing but I have some difficulty adding assemblies to the Reference StringCollection. I'm trying to add System.Data.dll and other standard references. It dont seem to save the reference list. I can't compile. It works in Visual Studio. The OS is Danish. Tried in both 32 and 64bit Windows 7 Pro.
What am I doing wrong?

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 365

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 533

Posts: 1849

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 554