====== Setting up a Development Environment ====== The following instructions describe how to set up a development environment for writing jControls applications using Visual Studio and C#. ===== Installing and Configuring Visual Studio ===== Please perform the follow procedure precisely in the order shown: - Download and install [[https://visualstudio.microsoft.com/downloads/|Visual Studio]]. Be sure to select the //.NET desktop development// workload. \\ {{ vs2022_desktop_workload.png }} - Open a command prompt, and run the following command to install the Nuget source for downloading the necessary CFNET libraries and templates.\\ dotnet nuget add source https://nuget.comfiletech.com/index.json --name "COMFILE Technology" - Run the following command to install COMFILE Technology's project and item templates. dotnet new install ComfileTech.Templates Now the the development environment is set up, follow the instructions at [[winforms:new_project:index|Creating a New ComfileTech.WinForms Project]] to create a new project. ===== Debugging ===== To debug an ARM Linux device from within Visual Studio try using our [[comfilepi:dotnet_core_development:remote_debugger:index|Remote .NET Debugger Extension]]. ===== Updating the Templates ===== Periodically, COMFILE Technology may update the Visual Studio templates with new templates and other improvements. To obtain the latest templates, simply run the following command from a terminal: dotnet new install ComfileTech.Templates ===== Uninstallation ===== To uninstall the Visual Studio templates, run the following in a terminal. dotnet new uninstall ComfileTech.Templates To remove the Nuget source, run the following in a terminal. dotnet nuget remove source "COMFILE Technology"