Share this page

# Known issues for programming

In this topic:

## Framework 3.5 for .NET scripts

Issue: .NET DLLs created in Visual Studio using Framework 3.5 may not run.

Steps to Resolve: Add the following to the <app>.config file: (if there is no such file, create one)

<configuration>

<startup>

<supportedRuntime version="v4.0" />

</startup>

</configuration>

Back to top

## Missing references for scripts created in Visual Studio

Issue: A compilation error occurs (such as error CS0246 or warning MSB3644) when compiling scripts created in Visual Studio, possibly because the referenced assemblies were not added correctly to Script.csproj.

Steps to Resolve:

- If Visual Studio is installed:

1. Open the script solution file in Visual Studio.
2. In the Solution Explorer, click References and select Add Reference from the right-click menu.
3. Save the solution, close Visual Studio, and reopen the script in VuGen.

- If Visual Studio is not installed:

1. Open the script.csproj file in a text editor.

2. In the ItemGroup element, add an Include statement for your reference as follows:

   <Reference Include="ICSharpCode.SharpZipLib">

   <HintPath>C:\xxxx\ICSharpCode.SharpZipLib.dll</HintPath>

   </Reference>

3. Save the file, close the editor, and reopen the script in VuGen.

Back to top

See also:

- Manually program a script

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 26.1 All View Local Help Center View Online Help Center Version: