06-25-2024 09:08 AM
Hello,
I am facing an issue and a want to understand.
I have developed a DLL in C# .Net 8.0.
I am forced to use Net 8.0 because of some bug in the nuget Azure.Identity, Microsoft.Data.SqlClient and NewtonSoft.Json
When i when to load my dll in TS 2023Q4 , i see only an interface, but absolutely no public class, and so my entry point.
The old dll with SQL stuff, was in .Net Standard 2.0 and was working fine.
I put the picture of the current Net 8 and the old net std 2.0 so you can see the difference.
When i see in the error message that TS want to load "System.Runtime", it remind me the framework assembly, while in .Net Core and newer ms have updated almost all assembly/lib to a name like "Microsoft.xxx". So i think that TS want to load Net Framework 8.0, that do not exist, so it canot find it.
So my understanding is:
TestStand 2023 is not capable of loading and calling assembly in .Net 8
So i am doomed.
I am wright?
any of you have idea of solution ?
a gateway dll in NetStandard 2.0 that load my dll in Net 8 can works here ? But debugging will be complex? .. 😕
Side question, i have seen that TS 2024 will finally support modern technology. Do we have a release date or a beta version available?
06-25-2024 09:54 AM
@jungledede wrote:
So my understanding is:
TestStand 2023 is not capable of loading and calling assembly in .Net 8
https://forums.ni.com/t5/NI-TestStand/NET-Core-Support/td-p/4027283/page/2
.NET Core 8 support is planned for TS 2024 and later only as per the roadmap presented at NI Connect 2024