So I’m (and some students of mine) having a problem with Visual studio where I’m not able to create any C++ projects. When I try to create a project for C++, after selecting the correct PLCnext controller I get the error „Value does not fall within the expected range“.
The C# projects do work. I was able to create a library, add to a project and have it run on an PLCnext controller
For C++ I have tried the PLCnext Consumable Library and the PLCnext PLM Project and for C# I have tried the PLCnext C# Firmware Library.
versions:
* Visual Studio Community edition 2022
* PLCnext controller AXC F 2152 firmware 2024
* Toolchain version 2024
* SDK version 2023.6 (the wiki said to use 2023.6 until 2024 was released)
Thanks for the help in advance! Toon
