Configuring a Basic C# Application in Visual Studio
- Updated2025-08-04
- 1 minute(s) read
Configuring a Basic C# Application in Visual Studio
This topic outlines how to create a C# application with NI-ATE Core using Microsoft Visual Studio.
- Create a new .NET Framework 4.5.2 project.
- In the Solution Explorer, right-click your project and select Unload Project.
- Add the NI-ATE Core reference to the CSPROJ file and save the file.
<Project …> … <ItemGroup> <Reference Include="NationalInstruments.AteCore.Fx45" /> … </ItemGroup> … </Project>
- In the Solution Explorer, right-click your project and select Reload Project with Dependencies.
- View the Reference Properties to see the reference path. The NI-ATE Core DLL loads automatically from the global assembly cache (GAC).
- Include the namespace in your cs file: using NationalInstruments.AteCore;
- Add a reference to the Newtonsoft driver dependency:
- In the Solution Explorer, expand your project to ensure the project contents are visible.
- Within your project, right-click on References and select Add Reference.
- Select Browse and click the Browse button.
- Navigate to C:\Program Files (x86)\National Instruments\NI-ATE Core\Bin.
- Select Newtonsoft.Json.dll.
- Click Add.
- Click OK.
You can now write your remaining logic and build your program.