I have a question regarding the .NET SDK. When programming a connector with Visual Studio with DIS, how can I specify the .NET SDK version? Or how can I update an existing project to a newer SDK version?
When working on a connector in Visual Studio using DataMiner Integration Studio (DIS), the .NET SDK version is controlled through the global.json file in the solution.
To check or define the SDK version, look for a global.json file in the root of your solution. If it doesn’t exist yet, you can create it manually. This file allows you to explicitly specify which SDK version your project should use.
If you want to update an existing project to a newer SDK version, simply open the global.json file and adjust the version number of the SDK to the desired (preferably latest stable) version. For example:
{
"msbuild-sdks": {
"Skyline.DataMiner.Sdk": "2.5.2"
}
}
After saving the file, rebuild your solution so the new SDK version is picked up. Make sure the version you specify is available on NuGet.