General discussions related to using the C# Script Engine in APL+Win.
Moderators: Tech Support, phpbb_admin
Using C#, sometimes I need to Add Reference and then specify Using; for example I need to add a reference to System.Configuration and then specify Using System.Configuration;
Does LoadAssembly do both these steps?
- Posts: 635
- Joined: February 22nd, 2007, 2:16 am
- Location: United Kingdom
The answer is in the last sentence in the description of the LoadAssembly method on page 92 of the CSE manual and it reads as follows:
Just as with the CSE ‘Init’ method, the ‘LoadAssembly’ method does not add a ‘using’ statement for a namespace associated with the loaded assembly.
Therefore a separate 'using' statement is required.
- Posts: 1131
- Joined: February 10th, 2007, 7:33 am
- Location: Rockville, MD
Return to APL+Win & The C# Script Engine
Who is online
Users browsing this forum: No registered users and 1 guest