我正在按照第1部分:总帐管理系统和现金管理系统的文档进行操作,并指示您运行Classgenerator.exe。
预期结果:成功生成了Page Wrappers
实际结果:System.AppDomainUnloadedException:已卸载运行该线程的应用程序域。
我已验证我的ClassGenerator.exe.config是否正确。
C:\Users\jonat\Downloads\TestSDK_17_207_0029_18\ClassGenerator>ClassGenerator.exe
System.AppDomainUnloadedException: The application domain in which the thread was running has been unloaded.
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateInstanceInNewWorkerAppDomain(Type type, String appId, VirtualPath virtualPath, String physicalPath)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost(Type hostType, String virtualDir, String physicalDir)
at ClassGenerator.ScreenExtractor.GetProxy() in E:\Bld\AC-TESTSDK2017R207-JOB1\tests\Selenium\ClassGenerator\ClassGenerator\ScreenExtractor.cs:line 64
at ClassGenerator.ScreenExtractor..ctor(String virtualPath, String sitePhysicalPath, String genResultPath, String username, String namespace, String postfix, Boolean correctCTL01) in E:\Bld\AC-TESTSDK2017R207-JOB1\tests\Selenium\ClassGenerator\ClassGenerator\ScreenExtractor.cs:line 28
at ClassGenerator.ClassGenerator.Run() in E:\Bld\AC-TESTSDK2017R207-JOB1\tests\Selenium\ClassGenerator\ClassGenerator\ClassGenerator.cs:line 177
at ClassGenerator.Launcher.Main(String[] args) in E:\Bld\AC-TESTSDK2017R207-JOB1\tests\Selenium\ClassGenerator\ClassGenerator\Launcher.cs:line 11
每当我尝试运行类Generator时,我都会收到此错误。
{{1}}
还有其他人遇到过这个问题吗?先谢谢你。