更新时间:2023-02-17 08:38:14
通过在测试中设置变量解决了这个问题:
Solved this by setting up the variable in the test using:
Environment.SetEnvironmentVariable("environmentVarConfig", "environmentVarValue");
如何在Asp.net C#中使用LDAP搜索Active Directory中的用户
如何在asp.net mvc3中使用PHP Web服务
如何在.NET Core中使用IUserIdProvider?
如何在VB.Net winform中的devexpress Gridcontol中使用devexpress Lookupedit控件?
如何在Linux上运行.NET Core控制台应用程序
如何在 Linux 上运行 .NET Core 控制台应用程序
如何在 .NET Core 控制台应用程序中使用 Microsoft.Extensions.DependencyInjection?
如何在.NET Core控制台应用程序中使用Microsoft.Extensions.DependencyInjection?
如何在 ASP.NET Core 中使用 Active Directory 身份验证?