Reputation: 133
My dotnet virtual user script is working fine on VUGen but not able to run on controller( on same machine so no conflict of .Net version etc.).
Error: Failed to compile virtual user. Error: Action.cs(29,35): error CS0103: The name 'DLLtoLR' does not exist in the current context Error: Action.cs(16,12): error CS0103: The name 'strOutputMsg' does not exist in the current context Error: Action.cs(16,27): error CS0103: The name 'Class1' does not exist in the current context
I went through with the following link but with no avail.
N.B. I am using my dlls.
Upvotes: 0
Views: 450
Reputation: 2995
The problem is that some of the dlls required to run the script on the controller are not in the references of the .NET project and hence are not copied to the LG.
To add the references open the project in Visual Studio and add the references to the project. Currently there is no way to add the references directly from VuGen.
Upvotes: 1