Closed StuartMoncrieff closed 11 years ago
This feature should already have been implemented. Please refer to the commit 2bddbedfe60c7c62afe62fa530b970d94a508ba5. Closing the issue.
If you're experiencing an issue with the feature, please re-open this issue and specify steps to reproduce.
Looks like VuGen does not automatically reload the .usr file which was changed by IDoc Generator add-in. Reopening the issue.
Workaround has been implemented. Closing the issue.
@StuartMoncrieff: I believe it makes sense to report the following bug to VuGen team: if the script (.usr) is updated from within the code, the changes are not reflected in UI and if a user manually saves the script, those changes get lost.
When the user presses the Create button to generate the VuGen script, the Action.c file is overwritten with idoc functions and idoc.dll is copied to the script folder.
The DLL should be added to the Extra Files part of the script by adding a reference to the file. This can be done by adding the following lines to the end of the script's *.usr file:
Doing this ensures the the file will be included when the script is exported to a zip file with the "runtime files" option selected. It also ensures that the script will work after it is uploaded to BAC/BSM, Performance Center, or a load generator agent.