If you add a coded step in the Standalone version and use logic contained in an outside assembly, you will need to add a reference to that assembly. Just like Visual Studio, project references in the Standalone version are project specific. Adding an assembly reference in one project does not make it available to other projects.
Open or create a test project in the Standalone version. Click the Project tab the Show button in the Settings ribbon.
The Project Settings menu loads.
This lists the Project References.
Click Add Reference to browse for an assembly in DLL form.
Locate the assembly and click Open. The new DLL should appear in your Project References list. execute your test. Test Studio will build the coded step(s) and alert you to any compilation errors.
Note: You cannot use using or Imports statements directly from a coded step. You must add them to the code-behind file.
Test Studio will not find references to a DLL in the default subfolders of the project folder. These include: bin, Properties, obj, Data, Backup, TestResults, Results, TestLists, and Profiler Configurations. If you attempt to add a reference to a custom DLL in these locations, the following two errors patterns will appear in your application log when you run your test:
[09/03 10:53:15,Telerik.TestStudio.RemoteExecutor.exe(15300:14),ProjectModel] Project.Compile() : Unable to add reference Project2012SP2\Profiler Configurations\ClassLibrary5.dll. Exception: System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
[09/03 10:53:15,Telerik.TestStudio.RemoteExecutor.exe(15300:14),Execution] TestPlatform.OnRunnerError() : Error during remote runner execution: Compile failed: c:\Users\yee\AppData\Local\Temp\1\Projects\ce1cb993-aea7-46e9-9aa1-5d0493ddf4fc\Project2012SP2\Assembly.tstest.cs(18,7) : error CS0246: The type or namespace name 'ClassLibrary5' could not be found (are you missing a using directive or an assembly reference?)