You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I use cassia on a project, which is builded by an azure devops hosted agent running under win server 2012 without any problem, but when I try to run against an agent hosted under windows server 2019 it fails my unittests...
Exception
Test method UnitTests.Shell.UpdateCheckerTests.Create_GetSafeSessionMachineName threw exception:
System.ComponentModel.Win32Exception: The tag is invalid
StackTrace
at Cassia.Impl.NativeMethodsHelper.QuerySessionInformation[T](ITerminalServerHandle server, Int32 sessionId, WTS_INFO_CLASS infoClass, ProcessSessionCallback`1 callback)
at Cassia.Impl.NativeMethodsHelper.QuerySessionInformationForString(ITerminalServerHandle server, Int32 sessionId, WTS_INFO_CLASS infoClass)
at Cassia.Impl.TerminalServicesSession..ctor(ITerminalServer server, Int32 sessionId)
at Cassia.TerminalServicesManager.get_CurrentSession()
at MyProject.GetSafeSessionMachineName()
...
I cannot see this windows server version in supported platform... Is this will be fixed or any workaround available ?
The text was updated successfully, but these errors were encountered:
Hi there,
I use cassia on a project, which is builded by an azure devops hosted agent running under win server 2012 without any problem, but when I try to run against an agent hosted under windows server 2019 it fails my unittests...
Exception
Test method UnitTests.Shell.UpdateCheckerTests.Create_GetSafeSessionMachineName threw exception:
System.ComponentModel.Win32Exception: The tag is invalid
StackTrace
at Cassia.Impl.NativeMethodsHelper.QuerySessionInformation[T](ITerminalServerHandle server, Int32 sessionId, WTS_INFO_CLASS infoClass, ProcessSessionCallback`1 callback)
at Cassia.Impl.NativeMethodsHelper.QuerySessionInformationForString(ITerminalServerHandle server, Int32 sessionId, WTS_INFO_CLASS infoClass)
at Cassia.Impl.TerminalServicesSession..ctor(ITerminalServer server, Int32 sessionId)
at Cassia.TerminalServicesManager.get_CurrentSession()
at MyProject.GetSafeSessionMachineName()
...
I cannot see this windows server version in supported platform... Is this will be fixed or any workaround available ?
The text was updated successfully, but these errors were encountered: