I have been spending all day on this issue.
Attached minimal reproductable example, I am trying to call following .NET code from TS:
using Microsoft.Extensions.Configuration;
namespace TsLoadAssembly
{
public class Class1
{
public Class1(string configPath)
{
var config = new ConfigurationBuilder().AddJsonFile(configPath, false).Build();
}
}
}
It is using the following nugets:
Microsoft.Extensions.Configuration
Microsoft.Extensions.Configuration.Abstractions
Microsoft.Extensions.Configuration.FileExtensions
Microsoft.Extensions.Configuration.Json
I have simple sequence file that calls this constructor and the following error is thrown:
My guess is that it is somehow related to how teststand discovers dependencies?
I have attached code and sequence file.