Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WindowsServer 2019 compatibility issue #95

Open
Cyril035 opened this issue Jun 14, 2021 · 0 comments
Open

WindowsServer 2019 compatibility issue #95

Cyril035 opened this issue Jun 14, 2021 · 0 comments

Comments

@Cyril035
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant